We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
6.7.0.202309050840-r
MacOS
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
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /Users/khm/tools/maven Java version: 21.0.1, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/21.0.1-open Default locale: en_DE, platform encoding: UTF-8 OS name: "mac os x", version: "14.0", arch: "aarch64", family: "mac"
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
When running jgit a warning about an unknown commit-graph chunk is reported:
[INFO] --- git-commit-id:7.0.0:revision (default) @ tree --- [WARNING] unknown commit-graph chunk: 0x47444132 [WARNING] unknown commit-graph chunk: 0x47444132 [WARNING] unknown commit-graph chunk: 0x47444132 [WARNING] unknown commit-graph chunk: 0x47444132
No warning.
No response
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.
mvn clean verify
Can be reproduced using:
Apache Maven 4.0.0-alpha-10 (89d3c0321dda868c432edf504f1884e6fd706f00) Maven home: /Users/khm/tools/maven Java version: 21.0.1, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/21.0.1-open Default locale: en_DE, platform encoding: UTF-8 OS name: "mac os x", version: "14.0", arch: "aarch64", family: "mac"
mvn --version Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39) Maven home: /Users/khm/tools/maven Java version: 21.0.1, vendor: Oracle Corporation, runtime: /Users/khm/.sdkman/candidates/java/21.0.1-open Default locale: en_DE, platform encoding: UTF-8 OS name: "mac os x", version: "14.0", arch: "aarch64", family: "mac"
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:
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 https://github.com/git/git/blob/a26002b62827b89a19b1084bd75d9371d565d03c/commit-graph.c#L48-L49 and is simply not listed as magic value in jgit.
It was introduced with this change: git/git@6dbf4b8
I found the relevant references on this discussion
Sorry, something went wrong.
No branches or pull requests
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: