From: Michele Ballabio Date: Thu, 10 Apr 2008 20:06:52 +0000 (+0200) Subject: revision.c: make --date-order overriddable X-Git-Tag: v1.5.5.1~15^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a710522bfc9ae6e27ce4bea573d1d223af6a6f8e;p=git.git revision.c: make --date-order overriddable 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 Signed-off-by: Junio C Hamano --- diff --git a/revision.c b/revision.c index a399f2714..d79f2b3a7 100644 --- 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; }