summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f571e0)
raw | patch | inline | side by side (parent: 3f571e0)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 23 Jun 2005 02:06:34 +0000 (19:06 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 23 Jun 2005 02:06:34 +0000 (19:06 -0700) |
We used to ignore unreachable tags, which just causes problems: it makes
"git prune" leave them around, but since we'll have prune everything
that tag points to, the tag object really should be removed too.
So remove the code that made us think tags were always reachable.
"git prune" leave them around, but since we'll have prune everything
that tag points to, the tag object really should be removed too.
So remove the code that made us think tags were always reachable.
fsck-cache.c | patch | blob | history |
diff --git a/fsck-cache.c b/fsck-cache.c
index d69c426b360db21820a4e180202ae4d71e0ba965..7c55fe56a439d4ac02c288cb99c3d7b877751322 100644 (file)
--- a/fsck-cache.c
+++ b/fsck-cache.c
refs->item->type, sha1_to_hex(refs->item->sha1));
}
- /* Don't bother with tag reachability. */
- if (obj->type == tag_type)
- continue;
-
if (show_unreachable && !(obj->flags & REACHABLE)) {
if (obj->attached_deltas)
printf("foreign delta reference %s\n",