Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tag.c: Refactor parse_tag_buffer to be saner to program
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 34f9ab98d1872770ef4d54014c31ece6eb7c8c39..c92ffc2a58bcda0744da44a31bce7d7112b1e510 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-536,6
+536,9
@@
static void cherry_pick_list(struct commit_list *list, struct rev_info *revs)
right_count++;
}
+ if (!left_count || !right_count)
+ return;
+
left_first = left_count < right_count;
init_patch_ids(&ids);
if (revs->diffopt.nr_paths) {