Wrong file hash [message #1843440] |
Thu, 29 July 2021 19:42 |
Yuriy Mitrofanov Messages: 22 Registered: July 2021 |
Junior Member |
|
|
C:\Projects\test>git ls-tree cd4efa48be9c2f2602f305484005c73be93622e4
100644 blob e40fd988170f1bace96b582db3fd80013db70614 README.md
100644 blob c63225d6c0bb40de9eb9309790997bd1de55a207 build.gradle
040000 tree f61a1cc06fce76eb5d1fc3f059807f3a978de58c gradle
100644 blob 4453ccea33d960069d9137ee65f6b21fc65e7e92 gradlew
100644 blob e95643d6a2ca62258464e83c72f5156dc941c609 gradlew.bat
100644 blob 2714e7495fa236940b889121af75b4479667cac2 settings.gradle
040000 tree 4038c9573e806a46c18f071f918672aa22e3c98b src
C:\Projects\test>git hash-object gradlew.bat
e95643d6a2ca62258464e83c72f5156dc941c609
C:\Projects\test>git cat-file -p e95643d6a2ca62258464e83c72f5156dc941c609 >12345
C:\Projects\test>git hash-object 12345
e95643d6a2ca62258464e83c72f5156dc941c609
Jgit calculates the wrong hash for the file
f9553162f122c71b34635112e717c3e733b5b212
How change this options git config core.autocrlf in jgit?
How to change this setting without changing git global options.
[Updated on: Thu, 29 July 2021 20:03] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03543 seconds