Re: Allowing push --dry-run through fetch url
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 6, 2009, 09:53 UTC
- Message-ID
- <20091106095357.GA13389@glandium.org>
- In-Reply-To
- <7vfx8s0yy1.fsf@alter.siamese.dyndns.org>
On Fri, Nov 06, 2009 at 01:44:54AM -0800, Junio C Hamano wrote: <snip>
> But doesn't "branch -v" give the necessary information for that purpose > and even a bit more? Couldn't "git fetch && git branch -v" be a better > solution for your real problem "X"?
Usually, when I run git push --dry-run, it's to check that what follows (usually the refspec part) does what I want it to do, such as not pushing tags I didn't intend to push(*), and stuff like that.
Mike
(*) the fact that all tags from all remotes are being mixed doesn't help, here, and without dry-running, I end up pushing tags from one remote onto another.