author | Linus Torvalds <torvalds@osdl.org> | |
Wed, 21 Sep 2005 00:55:46 +0000 (17:55 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Sep 2005 01:11:34 +0000 (18:11 -0700) | ||
commit | 27cfe2e2dcbfc4f6c6288ed4eafd077e232c2ab1 | |
tree | 0b24fa129f9241fc0081f2979d46f05acedb506b | tree | snapshot |
parent | c1babb1d65e034a058c14379eabec8eb374757ca | commit | diff |
Make time-based commit filtering work with topological ordering.
The trick is to consider the time-based filtering a limiter, the same way
we do for release ranges.
That means that the time-based filtering runs _before_ the topological
sorting, which makes it meaningful again. It also simplifies the code
logic.
This makes "gitk" useful with time ranges.
[ Second version: --merge-order now unaffected by the re-org ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The trick is to consider the time-based filtering a limiter, the same way
we do for release ranges.
That means that the time-based filtering runs _before_ the topological
sorting, which makes it meaningful again. It also simplifies the code
logic.
This makes "gitk" useful with time ranges.
[ Second version: --merge-order now unaffected by the re-org ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c | diff | blob | history |