summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-12-14 22:57:58 -0600
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-12-14 23:55:55 -0600
commitdbda3b10902e13826862505900eb7a537505a492 (patch)
tree1c16ade7d7ab7c9982cd29ce8147521e222854fe /t/t5601-clone.sh
parentbash: get --pretty=m<tab> completion to work with bash v4 (diff)
downloadtgif-dbda3b10902e13826862505900eb7a537505a492.tar.xz
bash: simple reimplementation of _get_comp_words_by_ref
Add a minimal implementation of _get_comp_words_by_ref so $ git show head:g <tab><tab> on bash 4 can complete paths within the head commit without requiring the bash_completion functions to be loaded. This is a follow-up to the previous patch (bash: get --pretty=m<tab> completion to work with bash v4). Based on bash-completion 2.x (commit bf763033, 2010-10-26) but tweaked for simplicity and to allow zsh to parse the code. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Improved-by: SZEDER Gábor <szeder@ira.uka.de>
Diffstat (limited to 't/t5601-clone.sh')
0 files changed, 0 insertions, 0 deletions