Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2012-05-14 19:35:18 +0400
committerJunio C Hamano <gitster@pobox.com>2012-05-14 21:33:33 +0400
commit6b179adfe93d13c2f993668cd12eec52860486ac (patch)
tree7f9b2a4607a3c3d21728be14d7b6aaeee351f81e /t
parentcd07cc53125fb2ca77a644831d4e5d9517bb7a05 (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')
-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 ()