threads / discuss / 41936

Fsck message override issue

Subject: Fsck message override issue

## tl;dr

2 messages between Apr 5, 2016 and Apr 6, 2016.

replies: 1people: 2as markdown or json

Seren Thompson· Apr 5, 2016, 19:58 UTC · lore
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
Jeff King· Apr 6, 2016, 06:19 UTC · re: Seren Thompson · lore

Re: Fsck message override issue

On Tue, Apr 05, 2016 at 12:58:38PM -0700, Seren Thompson wrote:
Show 19 quoted lines
> 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

← back to recent threads