SHA1 collision in production repo?! (probably not)
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Mar 31, 2017, 16:05 UTC
- Message-ID
- <4D74C1D4-9EA7-4A17-AFC5-0B54B4A6DD0E@gmail.com>
Hi,
I just got a report with the following output after a "git fetch" operation using Git 2.11.0.windows.3 [1]:
remote: Counting objects: 5922, done. remote: Compressing objects: 100% (14/14), done. error: inflate: data stream error (unknown compression method) error: unable to unpack 6acd8f279a8b20311665f41134579b7380970446 header fatal: SHA1 COLLISION FOUND WITH 6acd8f279a8b20311665f41134579b7380970446 ! fatal: index-pack failed
I would be really surprised if we discovered a SHA1 collision in a production repo. My guess is that this is somehow triggered by a network issue (see data stream error). Any tips how to debug this?
Thanks, Lars
[1] Git for Windows build based on Git v2.11.0