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

Re: [PATCH] Fix git-push --mirror also mirroring refs/remotes/

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
May 10, 2009, 22:15 UTC
Message-ID
<200905110015.06939.markus.heidelberg@web.de>
In-Reply-To
<7vskjctyey.fsf@alter.siamese.dyndns.org>
Junio C Hamano, 10.05.2009:
Show 19 quoted lines
> Markus Heidelberg <markus.heidelberg@web.de> writes:
> 
> > Bryan Drewery, 10.05.2009:
> >> This behavior makes no sense to me. Can we at least add a config option
> >> to make it not push remotes? I push my development repository
> >> to a remote private repository only as a backup, and push my master/next
> >> to a public repository. I see no reason to push my 8 remotes and
> >> all their branches to my backup repository.
> >
> > Why are you disturbed by the remotes, if it's only a backup repository
> > where you don't look into in the normal case?
> 
> I suspect you got a wrong "backup".
> 
> [...]
> 
> It would be a regression if you stop pushing the refs/remotes
> hierarchy, and such a proposal must be backed by an argument that says the
> benefit such a change brings in far outweighs the regression it causes.

I'm not sure if this is addressed to me, but I'm not for removing refs/remotes from push --mirror, maybe I was a bit confusing above.

Markus
Previous: Junio C Hamano
Message 7 of 7 in “Fix git-push --mirror also mirroring refs/remotes/”
  1. Fix git-push --mirror also mirroring refs/remotes/Bryan Drewery, May 10, 2009
  2. Markus HeidelbergMay 10, 2009
  3. Bryan DreweryMay 10, 2009
  4. Markus HeidelbergMay 10, 2009
  5. Bryan DreweryMay 10, 2009
  6. Junio C HamanoMay 10, 2009
  7. Markus HeidelbergMay 10, 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.