From: Catalin Marinas Date: Tue, 22 May 2007 12:11:13 GMT Subject: Re: [PATCH 1/2] Update the bash prompt from 'applied' instead of the obsolete 'current' Message-ID: In-Reply-To: <20070521153952.GB6474@diana.vm.bytemark.co.uk> On 21/05/07, Karl Hasselström wrote: > My suggestion was to have a small stand-alone C program that could do > some operations that need to be really fast, such as > top/applied/unapplied. It need not have a nice user interface since > it's only going to be called by scripts (bash-completion and the > like), and it should only handle those operations that _must- avoid > the Python startup penalty. And for sanity reasons, it should share > code with stgit. There is one more case to consider - people using NFS-mounted directories. The applied/unapplied commands would be even slower and the language overhead be negligible. Another workaround would be to always generate the applied/unapplied files when the stack structure changes. -- Catalin