Thread (9 messages) flat view 9 messages, 4 authors, 2016-06-15

Re: [PATCH] Contributed bash completion support for core Git tools.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:40

Shawn Pearce [off-list ref] writes:
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 <redacted>

 contrib/bash-git-completion.sh |  330 +++++++++++++++...
 1 files changed, 330 insertions(+), 0 deletions(-)
Hmph.  I tried this and found that I like "git pull ."
completion quite a bit.  Having said that:

 * If many people like it (like me), this may deserve to be
   outside contrib/

 * Otherwise, it would probably be better to place it in either
   contrib/bash/git-completion.sh (with potentially other
   bash-related things not just completion, but I do not know
   offhand what other kind of hooks would be useful) or
   contrib/completion/git-completion.bash (possibly with
   completion for other shells).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help