Re: [StGIT PATCH] Don't use patches/<branch>/current
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 16, 2007, 07:11 UTC
- Message-ID
- <20070516071130.GB7453@diana.vm.bytemark.co.uk>
- In-Reply-To
- <b0943d9e0705151301r7412109qd73a6008b888f8bc@mail.gmail.com>
On 2007-05-15 21:01:43 +0100, Catalin Marinas wrote:
> What is the impact on the bash completion for calling StGIT rather > than reading those files? Is it visible?
Yes, it's visible, but not annoying (to me anyway). The overhead is akin to the overhead we used to have when "stg help" generated the command names -- on the order of 100-200 ms, when StGIT is in the cache. The expensive part is to start stgit; the git calls are cheap. So theoretically the completion script could duplicate the logic in StGIT and avoid most of the overhead, if someone wanted it badly enough.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle