Re: Problems setting up bare repository (git 1.5.3.3)

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: Problems setting up bare repository (git 1.5.3.3)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:37

Johannes Schindelin [off-list ref] writes:
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.
It's not that "exactly" for me.

If your push were "next~27^2:frotz", it becomes even less clear.
It may be that I am pushing out the tip of a topic branch I
usually do not push out, so it would be easier for some specific
person to build on top of.  Or maybe I am marking that place as
a lightweight tag.  They are equally likely.

On the other hand, what the user wants to do with "git push
$elsewhere frob" is reasonably clear.  If frob is locally a
branch, then the branch is pushed out.  If frob is a tag, the
tag is propagated.

Re: Problems setting up bare repository (git 1.5.3.3)

From: Sean <hidden>
Date: 2016-06-15 22:43:37

On Tue, 02 Oct 2007 11:23:39 -0700
Junio C Hamano [off-list ref] wrote:
If your push were "next~27^2:frotz", it becomes even less clear.
It may be that I am pushing out the tip of a topic branch I
usually do not push out, so it would be easier for some specific
person to build on top of.  Or maybe I am marking that place as
a lightweight tag.  They are equally likely.
But you could pick a reasonable default in assuming that a new
branch is desired with the above example.  If someone wants to
push a tag, they can create the tag locally, and then push it.

Sean

Re: Problems setting up bare repository (git 1.5.3.3)

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:38

Hi,

On Tue, 2 Oct 2007, Sean wrote:
On Tue, 02 Oct 2007 11:23:39 -0700
Junio C Hamano [off-list ref] wrote:
quoted
If your push were "next~27^2:frotz", it becomes even less clear. It 
may be that I am pushing out the tip of a topic branch I usually do 
not push out, so it would be easier for some specific person to build 
on top of.  Or maybe I am marking that place as a lightweight tag.  
They are equally likely.
But you could pick a reasonable default in assuming that a new branch is 
desired with the above example.  If someone wants to push a tag, they 
can create the tag locally, and then push it.
And if someone wants to push a branch, they can create the branch locally, 
and then push it.  (Your last sentence with s/tag/branch/g applied.)

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help