Integrated: 8365048: idea.sh script does not correctly detect/handle git worktrees

David Beaumont duke at openjdk.org
Thu Aug 14 17:05:19 UTC 2025


On Thu, 14 Aug 2025 11:19:02 GMT, David Beaumont <duke at openjdk.org> wrote:

> Allows files or directories called .git to indicate likely use of Git for VCS in IntelliJ.
> Tested locally in a worktree and normal repository. It produces:
> 
>  <component name="VcsDirectoryMappings">
>     <mapping directory="$PROJECT_DIR$" vcs="Git" />
>     <mapping directory="$PROJECT_DIR$/open" vcs="Git" />
>   </component>
> 
> in both cases, as expected.

This pull request has now been integrated.

Changeset: ba231052
Author:    David Beaumont <david.beaumont at oracle.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ba231052319676ece5105253b58efa4e906feab4
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8365048: idea.sh script does not correctly detect/handle git worktrees

Reviewed-by: shade, vyazici, erikj, mcimadamore, ihse

-------------

PR: https://git.openjdk.org/jdk/pull/26777


More information about the core-libs-dev mailing list