author | Linus Torvalds <torvalds@osdl.org> | |
Mon, 14 Nov 2005 18:01:26 +0000 (10:01 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 14 Nov 2005 22:16:38 +0000 (14:16 -0800) | ||
commit | 2ed02887bda74871bad64f1be36fb4f60d07706e | |
tree | 359343ed6f24dc27f834df0b71902e484cca624b | tree | snapshot |
parent | d4072c9722d1ef28abe8ef0eb0b244017fff3f42 | commit | diff |
Fix git-rev-list "date order" with --topo-order
This fixes git-rev-list so that when there are multiple branches, we still
sort the heads in proper approximate date order even when sorting the
output topologically.
This makes things like
gitk --all -d
work sanely and show the branches in date order (where "date order" is
obviously modified by the paren-child dependency requirements of the
topological sort).
The trivial fix is to just build the "work" list in date order rather than
inserting the new work entries at the beginning.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This fixes git-rev-list so that when there are multiple branches, we still
sort the heads in proper approximate date order even when sorting the
output topologically.
This makes things like
gitk --all -d
work sanely and show the branches in date order (where "date order" is
obviously modified by the paren-child dependency requirements of the
topological sort).
The trivial fix is to just build the "work" list in date order rather than
inserting the new work entries at the beginning.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | diff | blob | history |