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