login
Header Space

 
 

Re: Friendly refspecs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Jeff King <peff@...>, Teemu Likonen <tlikonen@...>, <git@...>
Date: Tuesday, April 22, 2008 - 1:19 pm

On Tue, 22 Apr 2008, Junio C Hamano wrote:


That's no good for people who make lightweight tags, since those will be 
commits, and "git push <remote> tag:tag" would push refs/tags/tag to 
refs/heads/tag.

But I think the proposal was for "git push $there $name:$name", where name 
gets expanded locally to refs/heads/$name, which I think should probably 
work. I think it should require $name to be unambiguous locally, though, 
because it wouldn't be too unusual for people to end up with the same name 
for a branch and a lightweight tag, and then try pushing that name, 
expecting one or the other to get pushed.

	-Daniel
*This .sig left intentionally blank*
--
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, 12:52 pm)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 4:05 pm)
Re: Friendly refspecs, Junio C Hamano, (Tue Apr 22, 4:45 pm)
Re: Friendly refspecs, Teemu Likonen, (Wed Apr 23, 12:24 am)
Re: Friendly refspecs, Junio C Hamano, (Wed Apr 23, 1:52 am)
Re: Friendly refspecs, Jeff King, (Wed Apr 23, 5:16 am)
Re: Friendly refspecs, Jeff King, (Wed Apr 23, 5:21 am)
Re: Friendly refspecs, Teemu Likonen, (Wed Apr 23, 7:15 am)
Re: Friendly refspecs, Andreas Ericsson, (Wed Apr 23, 2:24 am)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 5:52 pm)
Re: Friendly refspecs, Daniel Barkalow, (Tue Apr 22, 1:19 pm)
Re: Friendly refspecs, Jeff King, (Tue Apr 22, 4:12 pm)
speck-geostationary