From a710522bfc9ae6e27ce4bea573d1d223af6a6f8e Mon Sep 17 00:00:00 2001 From: Michele Ballabio Date: Thu, 10 Apr 2008 22:06:52 +0200 Subject: [PATCH] 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 --- revision.c | 1 + 1 file changed, 1 insertion(+) diff --git a/revision.c b/revision.c index a399f27144..d79f2b3a7b 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; } -- 2.11.4.GIT