Subject: Re: Git is not scalable with too many refs/*

From: Thomas Rast <[email-masked]>
Date: Fri, 9 Sep 2011 03:13:56 +0200

Thomas Rast wrote:
> +       const char *argv[] = {NULL, NULL, "--not", "--all", NULL};
> +       int argc = ARRAY_SIZE(argv) - 1;
> +
> +       init_revisions(&rev, NULL);
> 
> which means that the --all needs to walk all commits reachable from
> all refs and flag them as uninteresting.

Scratch that, it "only" needs to mark every tip commit and then walk
them back to about where the interesting commits end.

In any case, since the uninteresting set only gets larger, it should
be possible to reuse the same revision walker.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch