summaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2012-05-14 17:35:18 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-14 10:33:33 -0700
commit6b179adfe93d13c2f993668cd12eec52860486ac (patch)
tree7f9b2a4607a3c3d21728be14d7b6aaeee351f81e /t/t9902-completion.sh
parentcd07cc53125fb2ca77a644831d4e5d9517bb7a05 (diff)
downloadgit-6b179adfe93d13c2f993668cd12eec52860486ac.tar.gz
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-xt/t9902-completion.sh2
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 ()