author | Nicolas Pitre <nico@cam.org> | |
Fri, 26 Jan 2007 22:26:06 +0000 (17:26 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 28 Jan 2007 10:16:46 +0000 (02:16 -0800) | ||
commit | 1655707c9ec56847945854f8645ed64f74159e99 | |
tree | d9159101646d55b1d272aea8f09ac3af7638cd48 | tree | snapshot |
parent | 9a13f0b71b887af42c3be854344f185c6dfa1d0d | commit | diff |
lock_ref_sha1_basic(): remember the original name of a ref when resolving it
A ref might be pointing to another ref but only the name of the last ref
is remembered. Let's remember about the first name as well.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
A ref might be pointing to another ref but only the name of the last ref
is remembered. Let's remember about the first name as well.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history | |
refs.h | diff | blob | history |