Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/completion-no-redundant-all-command-list'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:23:57 +0000
(14:23 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 May 2015 21:23:57 +0000
(14:23 -0700)
Code simplification.
* sg/completion-no-redundant-all-command-list:
completion: remove redundant __git_compute_all_commands() call
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
(from parent 1:
465868a
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index eae9dce590e0000eb93e441106ef6538c07e86cc..b28a14e8ca583e18d91e5eae0186a4ad352ad8fe 100644
(file)
--- 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)
}