Code

prevent HEAD reflog to be interpreted as current branch reflog
authorNicolas Pitre <nico@cam.org>
Thu, 1 Feb 2007 17:33:23 +0000 (12:33 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 2 Feb 2007 05:48:26 +0000 (21:48 -0800)
commitfe55851624bbdb4f08e17e27ef8197ed610ac586
tree07e25a789a96efb3a0b32c236437b51463a0d1cb
parent08f1675059c09b7ee0b8ed16bc059472d07bb9e5
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>
sha1_name.c