Re: Terminology question about remote branches.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Kastrup <dak@...>
Cc: Jeff King <peff@...>, <git@...>
Date: Sunday, August 5, 2007 - 12:40 pm

On Sun, 05 Aug 2007 14:12:04 +0200
David Kastrup <dak@gnu.org> wrote:


To me it's yet another example of bad UI design in Git.   Git already
had remote-tracking branches, which conceptually were relatively easy
to explain.  Instead of leveraging this foundation, and adding the
ability for local branches to pick a default remote-tracking branch
to use for merging, Git instead implemented direct remote tracking
from local branches.  After having read the thread Jeff mentioned
earlier i'm still at a loss as to how this decision was justified.

To make it even worse, it turns out that this command:

   $ git branch --track  mybranch  remote/branch

Does _NOT_ tell git to setup mybranch to track remote/branch.  Read that
command line again and then scratch your head as to how anyone without
deep Git knowledge is supposed to infer its real meaning without being
told to read previous email threads etc.   This also means the feature
can't be used to say:

   $ git branch --track mybranch  otherlocalbranch

Being a fan of Git, it's frustrating to see that more weight is not
paid to such UI concerns.   Especially when the concern _was_ raised
when the feature was first added.

Sean
-
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: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 7:38 am)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 7:52 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 8:12 am)
Re: Terminology question about remote branches., Sean, (Sun Aug 5, 12:40 pm)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 12:45 pm)
Re: Terminology question about remote branches., Theodore Tso, (Sun Aug 5, 11:48 am)
Re: Terminology question about remote branches., David Kastrup, (Sun Aug 5, 12:23 pm)
Re: Terminology question about remote branches., Randal L. Schwartz, (Sun Aug 5, 12:27 pm)
Re: Terminology question about remote branches., Jeff King, (Sun Aug 5, 8:14 am)