From: Junio C Hamano Date: Mon, 11 May 2015 21:23:57 +0000 (-0700) Subject: Merge branch 'sg/completion-no-redundant-all-command-list' X-Git-Tag: v2.5.0-rc0~124 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5c38a1fad748696108339c74f741e1a8a3ea79a2?ds=inline;hp=-c Merge branch 'sg/completion-no-redundant-all-command-list' Code simplification. * sg/completion-no-redundant-all-command-list: completion: remove redundant __git_compute_all_commands() call --- 5c38a1fad748696108339c74f741e1a8a3ea79a2 diff --combined contrib/completion/git-completion.bash index eae9dce590,8b0d2b4a3d..b28a14e8ca --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@@ -735,7 -735,6 +735,6 @@@ __git_list_porcelain_commands ( __git_porcelain_commands= __git_compute_porcelain_commands () { - __git_compute_all_commands test -n "$__git_porcelain_commands" || __git_porcelain_commands=$(__git_list_porcelain_commands) } @@@ -1448,7 -1447,7 +1447,7 @@@ _git_log ( return ;; --decorate=*) - __gitcomp "long short" "" "${cur##--decorate=}" + __gitcomp "full short no" "" "${cur##--decorate=}" return ;; --*)