author | Nicolas Pitre <nico@cam.org> | |
Wed, 21 Mar 2007 21:11:44 +0000 (17:11 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 22 Mar 2007 10:02:48 +0000 (03:02 -0700) | ||
commit | 605fac8b5bd6d4a2ca817631e2c56ba2d0a1ed91 | |
tree | c543dc4c0bc26d6e446839d811588ffe3bffd7da | tree | snapshot |
parent | 0a0d080bdc68d2bd4a1824b08123690c8065badb | commit | diff |
update HEAD reflog when branch pointed to by HEAD is directly modified
The HEAD reflog is updated as well as the reflog for the branch pointed
to by HEAD whenever it is referenced with "HEAD".
There are some cases where a specific branch may be modified directly.
In those cases, the HEAD reflog should be updated as well if it is a
symref to that branch in order to be consistent.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The HEAD reflog is updated as well as the reflog for the branch pointed
to by HEAD whenever it is referenced with "HEAD".
There are some cases where a specific branch may be modified directly.
In those cases, the HEAD reflog should be updated as well if it is a
symref to that branch in order to be consistent.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |