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

Re: Fsck configurations and cloning.

From
Jeff King <peff@peff.net>
Date
Mar 6, 2016, 16:00 UTC
Message-ID
<20160306160022.GA20010@sigill.intra.peff.net>
In-Reply-To
<CAGbFckYi1-b1NTaiQ8q1Ny_2+2rZFGMz+R-xgfRo1u5P-LKDwg@mail.gmail.com>
On Sun, Mar 06, 2016 at 10:38:15AM -0500, Ryne Everett wrote:
Show 12 quoted lines
> > I think there are two problems here.
> >
> > The first is that fsck.skiplist takes a filename that contains a list of
> > sha1s, not the sha1s themselves. So it would be more like:
> >
> >   echo 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8 >skiplist
> >   git -c fsck.skiplist="$(pwd)/skiplist" clone ...
> 
> I think I got this one right. Note the use of `cat` in my original post:
> 
>   $ cat $(git config --get fsck.skiplist)
>     5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8
Oh, indeed, I missed that completely.
Show 5 quoted lines
> > The second is is that only "fsck" and "receive-pack" seem to have
> > learned about skiplist and other per-error config. There is no matching
> > fetch.fsck.* config to cover fetches.
> 
> Ah, well that sounds like the answer -- my original assumption was wrong.

Yeah. I was kind of surprised to find this was the case, given that we _do_ have fetch.fsckObjects.

-Peff
Previous: Ryne Everett
Message 6 of 6 in “Fsck configurations and cloning.”
  1. Ryne EverettMar 6, 2016
  2. Jacob KellerMar 6, 2016
  3. Ryne EverettMar 6, 2016
  4. Jeff KingMar 6, 2016
  5. Ryne EverettMar 6, 2016
  6. Jeff KingMar 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.