summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 055b661)
raw | patch | inline | side by side (parent: 055b661)
author | Michele Ballabio <barra_cuda@katamail.com> | |
Thu, 10 Apr 2008 20:06:52 +0000 (22:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 12 Apr 2008 06:01:33 +0000 (23:01 -0700) |
Jan Engelhardt noticed that while --topo-order can be overridden by a
subsequent --date-order, the reverse was not possible. That's because
setup_revisions() failed to set revs->lifo properly.
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
subsequent --date-order, the reverse was not possible. That's because
setup_revisions() failed to set revs->lifo properly.
Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c | patch | blob | history |
diff --git a/revision.c b/revision.c
index a399f27144bbabe3ee942408cdb90398990c3c85..d79f2b3a7b7fda64c1288f79a971f7b3e6d51cb2 100644 (file)
--- a/revision.c
+++ b/revision.c
@@ -1019,6 +1019,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
continue;
}
if (!strcmp(arg, "--topo-order")) {
+ revs->lifo = 1;
revs->topo_order = 1;
continue;
}