Re: confusion over the new branch and merge config

From: Sean <seanlkml@sympatico.ca>
Date: 2006-12-22 10:21:02
On Thu, 21 Dec 2006 15:01:21 -0800
Junio C Hamano <junkio@cox.net> wrote:

> No, the message says "any REMOTE branch" -- refs/heads/next is
> what it is called at the remote, and that is how the value is
> expected to be spelled; I think somebody added an example to
> config.txt recently to stress this.  The above error messasge
> obviously was not clear enough.  Rewording appreciated.

This seems inconsistent and confusing.  When working with the
local repository, git-branch doesn't list that as "refs/heads/next"
it just lists "next".  Why all of a sudden when trying to fetch
it from a remote repo must a user know about "refs/heads"?

This seems like an internal detail slipping into the user interface.
But maybe i'm wrong, when would it ever be anything other than
"refs/heads/<branch>"?  If it's _always_ "refs/heads", couldn't that
prefix just be assumed if not provided by the user?

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
Received on Fri Dec 22 10:21:22 2006

This archive was generated by hypermail 2.1.8 : 2006-12-22 10:23:03 EST