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

Re: git/git-scm.com GH Issue Tracker

From
Jeff King <peff@peff.net>
Date
Feb 6, 2017, 21:45 UTC
Message-ID
<20170206214507.7l5haqbimmwdwfm3@sigill.intra.peff.net>
In-Reply-To
<xmqqlgtj11up.fsf@gitster.mtv.corp.google.com>
On Mon, Feb 06, 2017 at 12:49:34PM -0800, Junio C Hamano wrote:
> Of course, that will make it easier to let broken objects created by
> newer reimplementations of Git (and bugs in our code that cause us
> to create such broken objects) go unnoticed, so we would want to
> keep them at warn (not ignore) for the end-users.

Yes, sorry if that wasn't clear. By "loosen" I just meant to warn, not ignore.

So a viable path forward is perhaps:
  1. Add fetch.fsck.* (and probably transfer.fsck.*) to match the
     receive-pack options.
  2. Go over the current list of default warning/error settings and make
     sure they are sensible.
  3. Add a "light" mode to transfer.fsckObjects and friends that blocks
     only errors, not warnings. Maybe setting the config bool to
     "errors-only" instead of "true" or something.
  4. (Optional) Default transfer.fsckObjects to "errors-only".
     The escape hatch is to set fsckObjects to "false", or to downgrade
     your specific problem to a warning via transfer.fsck.*.
-Peff
Previous: Junio C HamanoNext: Jeff King
Message 6 of 8 in “git/git-scm.com GH Issue Tracker”
  1. Samuel LijinFeb 6, 2017
  2. Thomas Ferris NicolaisenFeb 6, 2017
  3. Duy NguyenFeb 6, 2017
  4. Jeff KingFeb 6, 2017
  5. Junio C HamanoFeb 6, 2017
  6. Jeff KingFeb 6, 2017
  7. Jeff KingFeb 6, 2017
  8. Samuel LijinFeb 8, 2017

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.