Merge branch 'sg/complete-help-undup'
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 02:43:54 +0000 (18:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2012 02:43:54 +0000 (18:43 -0800)
* sg/complete-help-undup:
completion: remove 'help' duplicate from porcelain commands

contrib/completion/git-completion.bash
index 85ae4191e52966c86e2bc1dc76d0454a8a485b20..0960acc58680b97a6cc0cf22fe7980d8758c6ee4 100644 (file)
@@ -585,7 +585,7 @@ __git_list_porcelain_commands ()
 {
        local i IFS=" "$'\n'
        __git_compute_all_commands
-       for i in "help" $__git_all_commands
+       for i in $__git_all_commands
        do
                case $i in
                *--*)             : helper pattern;;