Junio C Hamano wrote: > * ks/precompute-completion (2009-10-05) 1 commit. > (merged to 'next' on 2009-10-14 at adf722a) > + Speedup bash completion loading > > Are people happy with this? No. I now have rebase.sh, am.sh, etc. in my completion because of how git help -a fully lists git commands in libexec and elsewhere in my $PATH (which gets pointed to my build directory during make). It's late and I'm tired, but I think we can just ignore files ending in *.sh, *.perl, etc. diff --git a/contrib/completion/git-completion.bash.generate b/contrib/completion/git-completion.bash.generate index 33b1d1d..6487fd5 100755 --- a/contrib/completion/git-completion.bash.generate +++ b/contrib/completion/git-completion.bash.generate @@ -24,6 +24,7 @@ __git_all_commands () do case $i in *--*) : helper pattern;; + *.sh|*.perl) : build scripts;; *) echo $i;; esac done -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html