git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
172947e
)
process_tag: handle tag->tagged == NULL
author
Martin Koegler
<redacted>
Mon, 18 Feb 2008 20:47:59 +0000
(21:47 +0100)
committer
Junio C Hamano
<redacted>
Tue, 19 Feb 2008 03:25:26 +0000
(19:25 -0800)
Signed-off-by: Martin Koegler <redacted>
Signed-off-by: Junio C Hamano <redacted>
reachable.c
patch
|
blob
|
history
diff --git
a/reachable.c
b/reachable.c
index ddf39e556b964055419dfd92171f8277a7f7f0d9..11499a60c4202ba29b2dfc8bf1e6536343dfed4c 100644
(file)
--- a/
reachable.c
+++ b/
reachable.c
@@
-79,7
+79,8
@@
static void process_tag(struct tag *tag, struct object_array *p, const char *nam
if (parse_tag(tag) < 0)
die("bad tag object %s", sha1_to_hex(obj->sha1));
- add_object(tag->tagged, p, NULL, name);
+ if (tag->tagged)
+ add_object(tag->tagged, p, NULL, name);
}
static void walk_commit_list(struct rev_info *revs)
git clone https://git.99rst.org/PROJECT