completion: add new __git_complete helper
commit6b179adfe93d13c2f993668cd12eec52860486ac
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 14 May 2012 15:35:18 +0000 (14 17:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2012 17:33:33 +0000 (14 10:33 -0700)
tree7f9b2a4607a3c3d21728be14d7b6aaeee351f81e
parentcd07cc53125fb2ca77a644831d4e5d9517bb7a05
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>
contrib/completion/git-completion.bash
t/t9902-completion.sh