diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:23:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 14:23:57 -0700 |
commit | 5c38a1fad748696108339c74f741e1a8a3ea79a2 (patch) | |
tree | 556d474331ec5876dffeedfe332b9454eb9fab62 /contrib | |
parent | Merge branch 'sg/complete-decorate-full-not-long' (diff) | |
parent | completion: remove redundant __git_compute_all_commands() call (diff) | |
download | tgif-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.bash | 1 |
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) } |