-
Notifications
You must be signed in to change notification settings - Fork 51
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
[WARNING] unknown commit-graph chunk: 0x47444132 #12
Comments
I found more context on this. Jgit's constants are defined here: jgit/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphConstants.java Lines 18 to 30 in b1cc74b
This 0x47444132 seems to come from It was introduced with this change: I found the relevant references on this discussion |
there is a stale change 203182 in review adding support for writing generation numbers |
That chunk is for GDA2 (generation numbers v2). JGit doesn't support that yet. When the parser finds an unknown chunk, it just logs it and ignores that chunk. If this bug is about the warning log, we can close it as "working as intended". The actual feature request is "support generation number v2" in jgit. |
Version
6.7.0.202309050840-r
Operating System
MacOS
Bug description
When running the git-commit-id-maven-plugin (which uses jgit under the hood) a warning about unknown commit-graph chunk is reported.
This warning seems to only be reproducible under mac using a
The message templates are defined in:
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties:commitGraphChunkUnknown=unknown commit-graph chunk: 0x{0}
and the error observed comes from:
jgit/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphLoader.java
Lines 194 to 196 in b1cc74b
Actual behavior
When running jgit a warning about an unknown commit-graph chunk is reported:
Expected behavior
No warning.
Relevant log output
No response
Other information
To reproduce checkout the branch https://github.com/khmarbaise/maven-it-extension/tree/git-commit-id-maven-plugin-issue-687
and run
mvn clean verify
.Can be reproduced using:
Can not be reproduced under linux and the same repository/branch/commit.
original bug-report: git-commit-id/git-commit-id-maven-plugin#687
The text was updated successfully, but these errors were encountered: