Make sure we generate the whole commit list before trying to sort it topologically
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 17:51:43 +0000 (10:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 17:51:43 +0000 (10:51 -0700)
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.

rev-list.c

index c4a6151..fb33724 100644 (file)
@@ -473,6 +473,7 @@ int main(int argc, char **argv)
                }
                if (!strcmp(arg, "--topo-order")) {
                        topo_order = 1;
                }
                if (!strcmp(arg, "--topo-order")) {
                        topo_order = 1;
+                       limited = 1;
                        continue;
                }
 
                        continue;
                }