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 - 4:50 am

On 2009.02.10 06:19:07 -0500, Jeff King wrote:

Yeah, that's what I meant when I said "short-shortname". Maybe it's just
me, but I really can't see myself using that. Would be likely that
"origin" references something else than what I expect, especially when
switching from one repo to another. And doing "git branch -r" to find
out if "origin" is the right thing is slower than just typing the full
shortname right away. Well, just my 2 cents.


Yeah, as I said in the other mail, having it as a default would make add
-m quite pointless.


FWIW, I would hate fetch for doing that. I dislike the whole
<remote>/HEAD thing, and wouldn't want fetch to recreate that for me all
the time.


Maybe "git remote set-master"? Though I kinda dislike the "master" part
of the name, which I just took from the -m option to "remote add",
though. I guess that could increase the confusion about the "master"
branch as pre-setup by "git init" being special, and might lead to
interesting conclusions about that command affecting the remote
repository.


Yeah, would make sense.

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, 4:50 am)