diff options
author | Michele Ballabio <barra_cuda@katamail.com> | 2008-04-10 22:06:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-11 23:01:33 -0700 |
commit | a710522bfc9ae6e27ce4bea573d1d223af6a6f8e (patch) | |
tree | 19965acdc6ff2cad65b5a0ec9e8d959c61038ac4 /revision.c | |
parent | 055b66158c984c4e902735ab2a1a188509423f43 (diff) | |
download | git-a710522bfc9ae6e27ce4bea573d1d223af6a6f8e.tar.gz git-a710522bfc9ae6e27ce4bea573d1d223af6a6f8e.tar.xz |
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 <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |