aboutsummaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 10:51:43 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-06 10:51:43 -0700
commite6c3505b44e943b73a01d9d48b442f8f49b0dfad (patch)
tree062ab350587e53c507251eb1b401470ebf3b9944 /rev-list.c
parentf312de018b48853d166040908b0ba2bf666e26c1 (diff)
downloadgit-e6c3505b44e943b73a01d9d48b442f8f49b0dfad.tar.gz
git-e6c3505b44e943b73a01d9d48b442f8f49b0dfad.tar.xz
Make sure we generate the whole commit list before trying to sort it topologically
This was my cherry-pickng merge bug. But topo-order still shows strange behaviour with multiple heads, so keep gitk using --merge-order for now.
Diffstat (limited to 'rev-list.c')
-rw-r--r--rev-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rev-list.c b/rev-list.c
index c4a615134..fb3372476 100644
--- a/rev-list.c
+++ b/rev-list.c
@@ -473,6 +473,7 @@ int main(int argc, char **argv)
}
if (!strcmp(arg, "--topo-order")) {
topo_order = 1;
+ limited = 1;
continue;
}