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

Re: [PATCH] Introduce git-mirror, a tool for exactly mirroring another repository.

From
Junio C Hamano <junkio@cox.net>
Date
Nov 1, 2006, 00:32 UTC
Message-ID
<7vac3covlf.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20061031174225.3c7c1e77.vsu@altlinux.ru>
Sergey Vlasov <vsu@altlinux.ru> writes:
> What is the current state of packed-refs implementation?
Scheduled for "master" probably tomorrow, with some disclaimers.
Show 5 quoted lines
> BTW, I was thinking about the possibility to save removed refs under,
> e.g., refs/old/`date -I`/; maybe even non-fast-forward refs could be
> saved there - this will ensure that no object will ever disappear from
> the mirror, no matter what is done on the master side.  Obviously, in
> this case remote refs like refs/old/* should be filtered.

I do not think that belongs to git-mirror. It might be better to have that option in update-ref machinery so that you would even be protected from a `git branch -d` ran by mistake.

Previous: Shawn PearceNext: Jakub Narebski
Message 6 of 10 in “Introduce git-mirror, a tool for exactly mirroring another repository.”
  1. Introduce git-mirror, a tool for exactly mirroring another repository.Shawn Pearce, Sep 25, 2006
  2. Junio C HamanoSep 26, 2006
  3. Shawn PearceSep 26, 2006
  4. Sergey VlasovOct 31, 2006
  5. Shawn PearceOct 31, 2006
  6. Junio C HamanoNov 1, 2006
  7. Jakub NarebskiNov 1, 2006
  8. Sergey VlasovNov 1, 2006
  9. Jakub NarebskiNov 1, 2006
  10. Junio C HamanoNov 1, 2006

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.