From: Catalin Marinas Date: Thu, 13 Dec 2007 14:04:26 GMT Subject: Re: [StGit RFC] Make "stg branch -l" faster by getting all git config information in one call Message-ID: In-Reply-To: <20071213133653.13925.89254.stgit@krank> On 13/12/2007, David Kågedal 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? We can have the standard --list command which ignores the protected flag or even the stgit.formatversion. Just a simple listing of the branches (that's what I need most of the time). To get the description, the 's' and 'p' flags, we could use --list-full or something similar and wait a bit longer. This would also improve the bash completion of commands taking branch names as arguments. We had a similar issue in the past with 'series' as it was checking whether the patch is empty. We ended up adding a '--empty' option for this case. -- Catalin