Fsck message override issue

2 messages, 2 authors, 2016-06-16 · open the first message on its own page

Fsck message override issue

From: Seren Thompson <hidden>
Date: 2016-06-16 02:18:40

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

Re: Fsck message override issue

From: Jeff King <hidden>
Date: 2016-06-16 02:18:40

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help