diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-12-14 22:57:58 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2010-12-14 23:55:55 -0600 |
commit | dbda3b10902e13826862505900eb7a537505a492 (patch) | |
tree | 1c16ade7d7ab7c9982cd29ce8147521e222854fe /gitk-git | |
parent | bash: get --pretty=m<tab> completion to work with bash v4 (diff) | |
download | tgif-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 'gitk-git')
0 files changed, 0 insertions, 0 deletions