diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-05-14 19:35:18 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-14 21:33:33 +0400 |
commit | 6b179adfe93d13c2f993668cd12eec52860486ac (patch) | |
tree | 7f9b2a4607a3c3d21728be14d7b6aaeee351f81e /t/t9902-completion.sh | |
parent | cd07cc53125fb2ca77a644831d4e5d9517bb7a05 (diff) |
completion: add new __git_complete helper
This simplifies the completions, and would make it easier to define
aliases in the future.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9902-completion.sh')
-rwxr-xr-x | t/t9902-completion.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh index 5bda6b6e18..0f09fd6109 100755 --- a/t/t9902-completion.sh +++ b/t/t9902-completion.sh @@ -63,7 +63,7 @@ run_completion () local _cword _words=( $1 ) (( _cword = ${#_words[@]} - 1 )) - _git && print_comp + __git_wrap_git && print_comp } test_completion () |