summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8cd1033)
raw | patch | inline | side by side (parent: 8cd1033)
author | Jon Seymour <jon.seymour@gmail.com> | |
Mon, 20 Jun 2005 02:29:31 +0000 (12:29 +1000) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 20 Jun 2005 03:13:18 +0000 (20:13 -0700) |
git-rev-list --merge-order HEAD ^HEAD was faulting rather than generating an empty output.
This patch fixes that problem.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This patch fixes that problem.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
epoch.c | patch | blob | history |
index 5b71ad50d803a87e297761fe3c7a5123de63e580..82becf677ba852cf103a9f9a1131dc54141f019f 100644 (file)
--- a/epoch.c
+++ b/epoch.c
}
}
- if (!reversed->next) {
+ if (!reversed)
+ return ret;
+ else if (!reversed->next) {
/*
* If there is only one element in the list, we can sort it
* using sort_in_merge_order.