git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fsck message override issue

From
Jeff King <peff@peff.net>
Date
Apr 6, 2016, 06:19 UTC
Message-ID
<20160406061910.GB18208@sigill.intra.peff.net>
In-Reply-To
<32B1B2EC-C1DD-4662-92F1-6A7A9099E110@mindtouch.com>
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
Previous: Seren Thompson
Message 2 of 2 in “Fsck message override issue”
  1. Seren ThompsonApr 5, 2016
  2. Jeff KingApr 6, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.