Re: [StGit RFC] Make "stg branch -l" faster by getting all git config information in one call
- From
David Kågedal <davidk@lysator.liu.se>
- Date
- Dec 13, 2007, 14:31 UTC
- Message-ID
- <87lk7yr7ib.fsf@lysator.liu.se>
- In-Reply-To
- <b0943d9e0712130604r6daf05d5n7afbadfe23831839@mail.gmail.com>
"Catalin Marinas" <catalin.marinas@gmail.com> writes:
Show 8 quoted lines
> On 13/12/2007, David Kågedal <davidk@lysator.liu.se> wrote: >> I have a fair amount of branches, and I noticed that "stg branch -l" >> takes ridiculously long to finish. > > I have the same problem. > >> Maybe someone can help me find a quicker replacement for the >> get_protected call?
Hey, why not put the "protected" flag in the config? Then we can get it the same way as the other stuff.
Protecting a branch is a configuration action, so it makes sense to put it in the config.
-- David Kågedal