| author | Clemens Buchacher <drizzd@aon.at> | |
| Wed, 5 Nov 2008 20:55:53 +0000 (21:55 +0100) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 5 Nov 2008 22:09:43 +0000 (14:09 -0800) | ||
| commit | 5bdd8d4a3062ac8f29ec511fecb85049f6ff3ecc | |
| tree | d3b9070702938cd3f0455cca7894896ed5b1113c | tree | snapshot |
| parent | 16088d8870b7da6d4dd280be2d1728dd3be346b5 | commit | diff |
do not force write of packed refs
We force writing a ref if it does not exist. Originally, we only had to look
for the ref file to check if it existed. Now we have to look for a packed ref
as well. Luckily, resolve_ref already does all the work for us.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We force writing a ref if it does not exist. Originally, we only had to look
for the ref file to check if it existed. Now we have to look for a packed ref
as well. Luckily, resolve_ref already does all the work for us.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| refs.c | diff | blob | history | |
| t/t3210-pack-refs.sh | diff | blob | history |