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

Re: [PATCH RESEND] gitk: add "--no-replace-objects" option

From
Paul Mackerras <paulus@samba.org>
Date
Dec 13, 2009, 23:09 UTC
Message-ID
<20091213230923.GB8135@brick.ozlabs.ibm.com>
In-Reply-To
<20091212045240.4249.66874.chriscool@tuxfamily.org>
On Sat, Dec 12, 2009 at 05:52:39AM +0100, Christian Couder wrote:
Show 15 quoted lines
> Replace refs are useful to change some git objects after they
> have started to be shared between different repositories. One
> might want to ignore them to see the original state, and
> "--no-replace-objects" option can be used from the command
> line to do so.
> 
> This option simply sets the GIT_NO_REPLACE_OBJECTS environment
> variable, and that is enough to make gitk ignore replace refs.
> 
> The GIT_NO_REPLACE_OBJECTS is set to "1" instead of "" as it is
> safer on some platforms, thanks to Johannes Sixt and Michael J
> Gruber.
> 
> Tested-by: Michael J Gruber <git@drmicha.warpmail.net>
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Thanks, applied.
Paul.
Previous: Christian CouderNext: Christian Couder
Message 2 of 3 in “gitk: add "--no-replace-objects" option”
  1. gitk: add "--no-replace-objects" optionChristian Couder, Dec 12, 2009
  2. Paul MackerrasDec 13, 2009
  3. Christian CouderDec 27, 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.