projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Teach fsck-cache to accept non-commits for reachability analysis.
[git.git]
/
tag.c
diff --git
a/tag.c
b/tag.c
index
9eade75
..
3a71dd4
100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-49,6
+49,8
@@
int parse_tag(struct tag *item)
goto err;
item->tagged = parse_object(object);
+ if (item->tagged)
+ add_ref(&item->object, item->tagged);
type_line = data + 48;
if (memcmp("\ntype ", type_line-1, 6))