git-svn: optimize --branch and --branch-all-ref
commit098749d9bee6694abc8a0991996ff94b607abc7f
authorEric Wong <normalperson@yhbt.net>
Fri, 28 Apr 2006 10:51:16 +0000 (28 03:51 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 16 Jun 2006 10:04:20 +0000 (16 03:04 -0700)
tree0c5cbf4955e27054dee8d5da95cecccbea2e2d42
parentbf78b1d89b29f8524ccfbd7042fa277277e316ff
git-svn: optimize --branch and --branch-all-ref

By breaking the pipe read once we've seen a commit twice.

This should make -B/--branch-all-ref faster and usable on a
frequent basis.

We use topological order now for calling git-rev-list, and any
commit we've seen before should imply that all parents have been
seen (at least I hope that's the case for --topo-order).

Signed-off-by: Eric Wong <normalperson@yhbt.net>
contrib/git-svn/git-svn.perl