Re: [PATCH] Fix git-push --mirror also mirroring refs/remotes/
- From
Bryan Drewery <bryan@shatow.net>
- Date
- May 10, 2009, 21:31 UTC
- Message-ID
- <4A0747B9.1080707@shatow.net>
- In-Reply-To
- <200905102313.13544.markus.heidelberg@web.de>
Markus Heidelberg wrote:
Show 13 quoted lines
> 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? > >
If it's going to push remote heads, shouldn't it (in line with "mirror") also push all remote settings for all remotes from the config to the destination repository, as well as other config settings?
If not, then why push remote heads at all?
Bryan