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

Re: [PATCH] git: add --no-replace-objects option to disable replacing

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 12, 2009, 23:42 UTC
Message-ID
<7vmy3w5gdg.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20091012203033.8939.43473.chriscool@tuxfamily.org>
Thanks.

I understand that the replace mechanism is lazily initialized so it would be Ok to flip this variable as long as it is done before anybody makes the first call to read_sha1_file(). I am guessing the assignment the patch adds is early enough but I didn't audit the code.

Previous: Christian Couder
Message 2 of 2 in “git: add --no-replace-objects option to disable replacing”
  1. git: add --no-replace-objects option to disable replacingChristian Couder, Oct 12, 2009
  2. Junio C HamanoOct 12, 2009

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.