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

Re: git push mirror mode

From
Andy Whitcroft <apw@shadowen.org>
Date
Nov 8, 2007, 12:49 UTC
Message-ID
<20071108124916.GI9736@shadowen.org>
In-Reply-To
<Pine.LNX.4.64.0711081218090.4362@racer.site>
On Thu, Nov 08, 2007 at 12:19:18PM +0000, Johannes Schindelin wrote:
> P.S.: Without tests I am opposed to inclusion.  This _definitely_ needs 
> some tests.

This is very much 'pu' material right now. I've used it for a day keeping some kernel repos in sync on a couple of test boxes. Hardly extensive testing.

Yes some tests would be advisable. However I am no expert in the git test system, so I am not going to be able to do that in short order. What little time I had to work on this this morning was wasted by some SarBox madness here (but that is another story). In the spirit of making progress on what is a useful feature I pulled Junio's original change forward, fixed up my patch to expose it the the user and gave it some testing.

Whats there does seem to work and has a prima-facie use case. Hopefully someone can provide the nessary tests before I can.

-apw
Previous: Andreas EricssonNext: Junio C Hamano
Message 9 of 23 in “git push mirror mode”
  1. Andy WhitcroftNov 8, 2007
  2. 1/2 mirror pushingAndy Whitcroft, Nov 8, 2007
  3. 2/2 git-push: plumb in --mirror modeAndy Whitcroft, Nov 8, 2007
  4. Johannes SchindelinNov 8, 2007
  5. Andy WhitcroftNov 8, 2007
  6. Andreas EricssonNov 8, 2007
  7. Andy WhitcroftNov 8, 2007
  8. Andreas EricssonNov 8, 2007
  9. Andy WhitcroftNov 8, 2007
  10. Junio C HamanoNov 8, 2007
  11. 1/2 mirror pushingAndy Whitcroft, Nov 8, 2007
  12. Johannes SchindelinNov 8, 2007
  13. 2/2 git-push: plumb in --mirror modeAndy Whitcroft, Nov 8, 2007
  14. git push mirror mode V3Andy Whitcroft, Nov 8, 2007
  15. 4/4 tests: git push mirror mode testsAndy Whitcroft, Nov 8, 2007
  16. tests: git push mirror mode tests V2Andy Whitcroft, Nov 9, 2007
  17. tests: git push mirror mode tests V2 -- add tag testsAndy Whitcroft, Nov 9, 2007
  18. git-push: add documentation for the newly add --mirror modeAndy Whitcroft, Nov 9, 2007
  19. Junio C HamanoNov 9, 2007
  20. Andy WhitcroftNov 12, 2007
  21. 2/4 mirror pushing -- clean up match_refs flagsAndy Whitcroft, Nov 8, 2007
  22. 3/4 git-push: plumb in --mirror modeAndy Whitcroft, Nov 8, 2007
  23. 1/4 mirror pushingAndy Whitcroft, Nov 8, 2007

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.