author | Alexandre Julliard <julliard@winehq.org> | |
Thu, 2 Nov 2006 11:13:32 +0000 (12:13 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Nov 2006 02:04:40 +0000 (18:04 -0800) | ||
commit | ca8e2d86c44e5cea0def1d01edfb4e6aaf642dee | |
tree | 4acbbbb6f7b39d7fe311e4ed14a640bfcd39baa9 | tree | snapshot |
parent | 5c1e235f0f2a4586ca46a5503f6283db0ac1b9ac | commit | diff |
pack-refs: Store the full name of the ref even when packing only tags.
Using for_each_tag_ref() to enumerate tags is wrong since it removes
the refs/tags/ prefix, we need to always use for_each_ref() and filter
out non-tag references in the callback.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Using for_each_tag_ref() to enumerate tags is wrong since it removes
the refs/tags/ prefix, we need to always use for_each_ref() and filter
out non-tag references in the callback.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-refs.c | diff | blob | history |