-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ls-remote doesn't contain HEAD
#111
Comments
Running the equivalent git command for
Which also doesn't contain The equivalent jgit command |
right, but there's also no api to retrieve it (that I could see) the symref cli you showed in the other ticket is not exposed via the java api. whereas git gives you |
it's worth saying that I now believe HEAD will show up if the My api usage may not reflect the desired outcome which is arguably that no options should return more, and it appeared to return less, and that no options appear to result in the same output that git itself can give. |
Version
org.eclipse.jgit:org.eclipse.jgit:7.0.0.202409031743-r
Operating System
Linux/Unix
Bug description
given
Actual behavior
the
HEAD
reference is missingExpected behavior
if I run the real
git ls-remote origin
I get the belowRelevant log output
No response
Other information
this is the repo that can be used for comparison, https://github.com/xenoterracide/gradle-semver.git
The text was updated successfully, but these errors were encountered: