login
Header Space

 
 

Re: Problems setting up bare repository (git 1.5.3.3)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Carl Worth <cworth@...>
Cc: Junio C Hamano <gitster@...>, Barry Fishman <barry_fishman@...>, <git@...>
Date: Tuesday, October 2, 2007 - 1:45 pm

Hi,

On Tue, 2 Oct 2007, Carl Worth wrote:


Nothing to be sorry about.  It got me thinking.  People propose that "git 
push <nick> master:blub" should create the branch "refs/heads/blub" on the 
remote side.

My initial reaction was "then you have to be precise, because we do not 
know if you want to push it as a branch, or as a lightweight tag".

But then I stepped back a little: What is most likely meant when you say 
"master:blub" and there is no tag/branch of name "blub" on the remote 
side?  Exactly, you want a branch to be created.

_Except_ if you had a typo, such as "git push ko master:po" where you want 
to be warned that that ref is not present on the remote side.

So I am less opposed to making "master:blub" automatically create a branch 
"blub" if it does not exist yet.  But opposed nevertheless.

Ciao,
Dscho

-
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:
Problems setting up bare repository (git 1.5.3.3), Barry Fishman, (Mon Oct 1, 5:46 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Junio C Hamano, (Mon Oct 1, 6:32 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Johannes Schindelin, (Tue Oct 2, 5:46 am)
Re: Problems setting up bare repository (git 1.5.3.3), Johannes Schindelin, (Tue Oct 2, 1:45 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Junio C Hamano, (Tue Oct 2, 2:23 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Johannes Schindelin, (Tue Oct 2, 4:59 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Junio C Hamano, (Tue Oct 2, 3:09 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Johannes Schindelin, (Tue Oct 2, 5:02 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Shawn O. Pearce, (Mon Oct 1, 7:35 pm)
Re: Problems setting up bare repository (git 1.5.3.3), Junio C Hamano, (Mon Oct 1, 7:24 pm)
Re: Problems setting up bare repository (git 1.5.3.3), J. Bruce Fields, (Mon Oct 1, 7:17 pm)
speck-geostationary