Skip to content

Commit

Permalink
Merge branch 'sg/completion-no-redundant-all-command-list'
Browse files Browse the repository at this point in the history
Code simplification.

* sg/completion-no-redundant-all-command-list:
  completion: remove redundant __git_compute_all_commands() call
  • Loading branch information
Junio C Hamano committed May 11, 2015
2 parents 465868a + 110062a commit 5c38a1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 5c38a1f

Please sign in to comment.