Code

lock_ref_sha1_basic(): remember the original name of a ref when resolving it
authorNicolas Pitre <nico@cam.org>
Fri, 26 Jan 2007 22:26:06 +0000 (17:26 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 28 Jan 2007 10:16:46 +0000 (02:16 -0800)
commit1655707c9ec56847945854f8645ed64f74159e99
treed9159101646d55b1d272aea8f09ac3af7638cd48
parent9a13f0b71b887af42c3be854344f185c6dfa1d0d
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>
refs.c
refs.h