Re: [PATCH 5/8] push, send-pack: support pushing HEAD to real ref name
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Oct 27, 2007, 22:03 UTC
- Message-ID
- <Pine.LNX.4.64.0710271756140.7345@iabervon.org>
- In-Reply-To
- <11935038084055-git-send-email-prohaska@zib.de>
On Sat, 27 Oct 2007, Steffen Prohaska wrote:
> This teaches "push <remote> HEAD" to resolve HEAD on the local > side to its real ref name, e.g. refs/heads/master, and then > use the real ref name on the remote side to search a matching > remote ref.
I'd prefer this to be in set_refspecs in builtin-push. That way, it only applies to command-line arguments and matches your description better. (If you use a symbolic name on the command line, it follows it, and acts exactly as if you used the name it points to).
-Daniel *This .sig left intentionally blank*