All of lore.kernel.org
 help / color / mirror / Atom feed
* Fsck message override issue
@ 2016-04-05 19:58 Seren Thompson
  2016-04-06  6:19 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Seren Thompson @ 2016-04-05 19:58 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fsck message override issue
  2016-04-05 19:58 Fsck message override issue Seren Thompson
@ 2016-04-06  6:19 ` Jeff King
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2016-04-06  6:19 UTC (permalink / raw)
  To: Seren Thompson; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-06  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05 19:58 Fsck message override issue Seren Thompson
2016-04-06  6:19 ` Jeff King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.