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/completion | |
parent | 465868a22540d15d024ea4f8e2f4cfddf8f2edd7 (diff) | |
parent | 110062a134450f402f6d2e3e78a5aabb1df821fa (diff) | |
download | git-5c38a1fad748696108339c74f741e1a8a3ea79a2.tar.gz git-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/completion')
-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 eae9dce59..b28a14e8c 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) } |