author | Miklos Vajna <vmiklos@frugalware.org> | |
Fri, 31 Oct 2008 23:25:44 +0000 (00:25 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 Nov 2008 05:41:55 +0000 (22:41 -0700) | ||
commit | 045a476f91a9a308c823a2709977163238baa3fd | |
tree | 3743a1b43643d369f1c5a6598e58a61ac44b14b4 | tree | snapshot |
parent | fa58186c9ba50514b36ac5ef192cd7e0bc4d7780 | commit | diff |
update-ref --no-deref -d: handle the case when the pointed ref is packed
In this case we did nothing in the past, but we should delete the
reference in fact.
The problem was that when the symref is not packed but the referenced
ref is packed, then we assumed that the symref is packed as well, but
symrefs are never packed.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In this case we did nothing in the past, but we should delete the
reference in fact.
The problem was that when the symref is not packed but the referenced
ref is packed, then we assumed that the symref is packed as well, but
symrefs are never packed.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history | |
t/t1400-update-ref.sh | diff | blob | history |