author | Nicolas Pitre <nico@cam.org> | |
Thu, 1 Feb 2007 17:33:23 +0000 (12:33 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 2 Feb 2007 05:48:26 +0000 (21:48 -0800) | ||
commit | fe55851624bbdb4f08e17e27ef8197ed610ac586 | |
tree | 07e25a789a96efb3a0b32c236437b51463a0d1cb | tree | snapshot |
parent | 08f1675059c09b7ee0b8ed16bc059472d07bb9e5 | commit | diff |
prevent HEAD reflog to be interpreted as current branch reflog
The work in progress to enable separate reflog for HEAD will make it
independent from reflog of any branch HEAD might be pointing to. In
the mean time disallow HEAD@{...} until that work is completed. Otherwise
people might get used to the current behavior which makes HEAD@{...} an
alias for <current_branch>@{...} which won't be the case later.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The work in progress to enable separate reflog for HEAD will make it
independent from reflog of any branch HEAD might be pointing to. In
the mean time disallow HEAD@{...} until that work is completed. Otherwise
people might get used to the current behavior which makes HEAD@{...} an
alias for <current_branch>@{...} which won't be the case later.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c | diff | blob | history |