revision.c: make --date-order overriddable
authorMichele Ballabio <barra_cuda@katamail.com>
Thu, 10 Apr 2008 20:06:52 +0000 (22:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 12 Apr 2008 06:01:33 +0000 (23:01 -0700)
commita710522bfc9ae6e27ce4bea573d1d223af6a6f8e
tree19965acdc6ff2cad65b5a0ec9e8d959c61038ac4
parent055b66158c984c4e902735ab2a1a188509423f43
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>
revision.c