Thread (4 messages) flat view 4 messages, 4 authors, 2016-08-11
  • (off-list ancestor, not in this archive)
  • Re: (unknown) · Junio C Hamano <hidden> · 2016-08-11
  • Re: (unknown) · Josef Weidendorfer <hidden> · 2016-08-11
  • Re: (unknown) · Linus Torvalds <torvalds@osdl.org> · 2016-08-11
  • Re: (unknown) · Andy Parkins <hidden> · 2016-08-11

Re: (unknown)

From: Josef Weidendorfer <hidden>
Date: 2016-08-11 19:28:23

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help