aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui-log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-log.c b/ui-log.c
index 4573255..a4dc707 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -141,7 +141,9 @@ static int show_commit(struct commit *commit, struct rev_info *revs)
141 141
142 /* When we get here we have precisely one parent. */ 142 /* When we get here we have precisely one parent. */
143 parent = parents->item; 143 parent = parents->item;
144 parse_commit(parent); 144 /* If we can't parse the commit, let print_commit() report an error. */
145 if (parse_commit(parent))
146 return 1;
145 147
146 files = 0; 148 files = 0;
147 add_lines = 0; 149 add_lines = 0;