Code

Contributed bash completion support for core Git tools.
authorJunio C Hamano <junkio@cox.net>
Thu, 28 Sep 2006 09:31:25 +0000 (02:31 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Sep 2006 09:31:25 +0000 (02:31 -0700)
commit690d8824c852b6a59deb03f65e330297c587752e
tree7e2d6c3f963140ff05bd86fc87299759f167eab4
parent2d5b459107cf07bbb307cfb196c2007c497a6dd2
Contributed bash completion support for core Git tools.

This is a set of bash completion routines for many of the
popular core Git tools.  I wrote these routines from scratch
after reading the git-compl and git-compl-lib routines available
from the gitcompletion package at http://gitweb.hawaga.org.uk/
and found those to be lacking in functionality for some commands.
Consequently there may be some similarities but many differences.

Since these are completion routines only for tools shipped with
core Git and since bash is a popular shell on many of the native
core Git platforms (Linux, Mac OS X, Solaris, BSD) including these
routines as part of the stock package would probably be convienent
for many users.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/completion/git-completion.bash [new file with mode: 0755]