summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-05-11 14:23:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-11 14:23:57 -0700
commit5c38a1fad748696108339c74f741e1a8a3ea79a2 (patch)
tree556d474331ec5876dffeedfe332b9454eb9fab62 /contrib
parentMerge branch 'sg/complete-decorate-full-not-long' (diff)
parentcompletion: remove redundant __git_compute_all_commands() call (diff)
downloadtgif-5c38a1fad748696108339c74f741e1a8a3ea79a2.tar.xz
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index eae9dce590..b28a14e8ca 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -735,7 +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)
}