]> source.dussan.org Git - jgit.git/commit
CloneCommand: set HEAD also when not checking out 82/195882/1
authorThomas Wolf <twolf@apache.org>
Sun, 18 Sep 2022 17:24:58 +0000 (19:24 +0200)
committerThomas Wolf <twolf@apache.org>
Sun, 18 Sep 2022 17:43:40 +0000 (19:43 +0200)
commitf71fcbf36b9f9e21f8b796a0b2ea8226818e4780
treef240534e5c0b0b05d5eb6d3fa962af327e43baa3
parent4f4204914c6c996c4ffd81a26b8d9b0898523cdb
CloneCommand: set HEAD also when not checking out

CloneCommand, when setNoCheckout(true) was set, did not set HEAD.
With C git, "git clone --no-checkout" does.

Change-Id: Ief3df7e904ce90829a6345a6c3e9ee6a68486ab0
Signed-off-by: Thomas Wolf <twolf@apache.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java