Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Björn
Date: Tuesday, February 10, 2009 - 1:24 am

On 2009.02.10 09:02:02 +0100, Santi Béjar wrote:

No, it won't. Only "git remote add -m <name> ..." would. And there, you
have to pass a branchname yourself, "-m HEAD" doesn't do the trick. So
there you'd have a "the branch I have selected" instead of "the branch
the remote HEAD referenced". Making it quite different from what "git
clone" does.

But actually, that looks like a bug. The docs for -m say that it should
just override what <name>/HEAD is set to, not that it should be required
to cause the <name>/HEAD creation. I'll try to look into that.


That may not be the default for remotes added with -m though, as
otherwise the -m option to "git remote add" would become quite
pointless.

Björn
--
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: [PATCH] builtin-branch: highlight current remote branc ..., Johannes Schindelin, (Mon Feb 9, 4:49 pm)
Re: [PATCH] builtin-branch: highlight current remote branc ..., Björn, (Tue Feb 10, 1:24 am)