summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50974ec)
raw | patch | inline | side by side (parent: 50974ec)
author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Mon, 18 Feb 2008 20:47:53 +0000 (21:47 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 19 Feb 2008 03:20:18 +0000 (19:20 -0800) |
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c | patch | blob | history |
diff --git a/sha1_name.c b/sha1_name.c
index 13e11645e1fd6b61812cc3e88d2ad6cd42cad9ce..4c0bc9c5b5d5257195ee676fe46d1d9129daf7e8 100644 (file)
--- a/sha1_name.c
+++ b/sha1_name.c
unsigned long size;
commit = pop_most_recent_commit(&list, ONELINE_SEEN);
- parse_object(commit->object.sha1);
+ if (!parse_object(commit->object.sha1))
+ continue;
if (temp_commit_buffer)
free(temp_commit_buffer);
if (commit->buffer)