On Thursday 26 October 2006 00:20, Junio C Hamano wrote: > Heh, I spoke too fast. > > "git log origin..master" > > If you do not have none of .git/origin Really? I thought refs are always looked up in ".git/refs" only? > , .git/refs/origin, > .git/refs/tags/origin, .git/refs/heads/origin, nor > .git/refs/remotes/origin, then .git/refs/remotes/origin/HEAD is > what "origin" means (see get_sha1_basic() in sha1_name.c). Yes. However, IMHO it really should be a alias to "remotes/origin/<branch>", depending on current "<branch>" you are on. AFAI can remember, when implementing it, HEAD was choosen as sha1_name.c should not cope with porcelain issues (e.g. getting current branch name). It was the intention to change remotes/origin/HEAD in the porcelain command before actual use. Is this still sensible? Josef - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html