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