Re: [PATCH 1/2] Update the bash prompt from 'applied' instead of the obsolete 'current'
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- May 22, 2007, 12:11 UTC
- Message-ID
- <b0943d9e0705220511u2b3ed46fg220af2cce26fef96@mail.gmail.com>
- In-Reply-To
- <20070521153952.GB6474@diana.vm.bytemark.co.uk>
On 21/05/07, Karl Hasselström <kha@treskal.com> wrote:
Show 7 quoted lines
> 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