Re: Friendly refspecs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Ericsson
Date: Tuesday, April 22, 2008 - 11:24 pm

Junio C Hamano wrote:

If the src ref is not a commit sha1, the user will almost certainly want
to create the same *type* of ref on the remote side, so

git tag foo
git branch boo
git push $there foo:wip
git push $there boo:wip-2008-04-24

would, on the remote side, create the branch "wip" and the tag "wip-2008-04-24"

I for one would certainly like that, and I don't think very many will be
surprised at that behaviour.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Friendly refspecs, Junio C Hamano, (Tue Apr 22, 9:52 am)
Re: Friendly refspecs, Daniel Barkalow, (Tue Apr 22, 10:19 am)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 1:05 pm)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 1:12 pm)
Re: Friendly refspecs, Junio C Hamano, (Tue Apr 22, 1:45 pm)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 2:52 pm)
Re: Friendly refspecs, Teemu Likonen, (Tue Apr 22, 9:24 pm)
Re: Friendly refspecs, Junio C Hamano, (Tue Apr 22, 10:52 pm)
Re: Friendly refspecs, Andreas Ericsson, (Tue Apr 22, 11:24 pm)
Re: Friendly refspecs, Jeff King, (Wed Apr 23, 2:16 am)
Re: Friendly refspecs, Jeff King, (Wed Apr 23, 2:21 am)
Re: Friendly refspecs, Teemu Likonen, (Wed Apr 23, 4:15 am)