RFR: 8365048: idea.sh script does not correctly detect/handle git worktrees [v2]

David Beaumont duke at openjdk.org
Thu Aug 14 15:21:29 UTC 2025


> 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.

David Beaumont has updated the pull request incrementally with one additional commit since the last revision:

  Fix typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26777/files
  - new: https://git.openjdk.org/jdk/pull/26777/files/582a0143..307574fa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26777&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26777&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26777.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26777/head:pull/26777

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


More information about the core-libs-dev mailing list