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

Re: [PATCH] clone --mirror: avoid storing repeated tags

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 8, 2008, 04:57 UTC
Message-ID
<7vej50gl3v.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.DEB.1.00.0808080428520.9611@pacific.mpi-cbg.de.mpi-cbg.de>
Thanks for reporting and a quick fix.

This made me wonder if this relatively new "pack cloned refs" codepath has funny interaction with --reference which is another user of add_extra_refs(), but I think it is safe (we clear the real "extra" ones used during the object transfer before calling write_remote_refs()).

Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 4 in “1.6.0.rc2: Duplicated refs when using git clone --mirror”
  1. Cesar Eduardo BarrosAug 8, 2008
  2. clone --mirror: avoid storing repeated tagsJohannes Schindelin, Aug 8, 2008
  3. Junio C HamanoAug 8, 2008
  4. Junio C HamanoAug 8, 2008

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.