Re: [StGit PATCH] Added basic bash completion script for StGit.
- From
Karl Hasselström <kha@treskal.com>
- Date
- Jan 22, 2009, 16:18 UTC
- Message-ID
- <20090122161823.GB15074@diana.vm.bytemark.co.uk>
- In-Reply-To
- <49789A1F.8010203@tedpavlic.com>
On 2009-01-22 11:09:03 -0500, Ted Pavlic wrote:
> The only downside is that it's a little harder to keep track of when > the completion script changes (e.g., when you have made your own > local changes).
It's a generated file -- you're not supposed to edit it! Wouldn't it be a better idea to edit the program that generates it instead?
> However, the method you use provides very *fast* completion (as > opposed to git and hg completion, which generate their keywords on > the fly and thus run relatively slowly).
Yes, I was always irritated by how slow the StGit completion was compared to git's. Python sucks in this respect.
> HOWEVER, please see the threads (which modify the Python that > generates the script):
Yes, I'll take a look.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle