I'm not having luck with overriding the fsck message types (zeroPaddedFilemode specifically). I've tried adding
[fsck]
zeroPaddedFilemode = ignore
to both global and local configs, but it seems to have no effect:
$ git --version
git version 2.8.0
$ git config --get fetch.fsckobjects
true
$ git config --get fsck.zeroPaddedFilemode
ignore
$ git pull
remote: Counting objects: 14777, done.
remote: Compressing objects: 100% (5495/5495), done.
error: object 2b7227859263b6aabcc28355b0b994995b7148b6: zeroPaddedFilemode: contains zero-padded file modes
fatal: Error in object
fatal: index-pack failed
Is this expected behavior and I'm doing something wrong? Thanks.
-Seren
On Tue, Apr 05, 2016 at 12:58:38PM -0700, Seren Thompson wrote:
I'm not having luck with overriding the fsck message types (zeroPaddedFilemode specifically). I've tried adding
[fsck]
zeroPaddedFilemode = ignore
to both global and local configs, but it seems to have no effect:
$ git --version
git version 2.8.0
$ git config --get fetch.fsckobjects
true
$ git config --get fsck.zeroPaddedFilemode
ignore
$ git pull
remote: Counting objects: 14777, done.
remote: Compressing objects: 100% (5495/5495), done.
error: object 2b7227859263b6aabcc28355b0b994995b7148b6: zeroPaddedFilemode: contains zero-padded file modes
fatal: Error in object
fatal: index-pack failed
Is this expected behavior and I'm doing something wrong? Thanks.
I think this is the same issue as
http://article.gmane.org/gmane.comp.version-control.git/288341
Perhaps some interested person could clean up the patch there (add some
tests) to make it more likely to get merged.
-Peff