Re: [PATCH] remote: make prune work for mixed mirror/non-mirror repos
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 20, 2013, 23:36 UTC
- Message-ID
- <7vd2rgpd7i.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1371770988.17896.58.camel@localhost>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> I'm not doing that in non-bare repositories, neither do I use it for > pushing. It's for a continuous integration system, which never has any > locally created branches or commits, but does integrate things from > different remotes in some cases.
Perhaps then
[remote "origin"]
url = somewhere
fetch = +refs/heads/*:refs/heads/*
fetch = +refs/tags/*:refs/tags/*
[remote "another"]
url = somewhere-else
fetch = +refs/heads/*:refs/remotes/another/*
[remote "third"]
url = third-place
fetch = +refs/heads/*:refs/remotes/third/*would be sufficient? You may not even need tags, but that is an independent issue.