bash: rename __git_find_subcommand() to __git_find_on_cmdline()
commit918c03c2a7c8730dcfd413098b3dc05fa0f3166d
authorSZEDER Gábor <szeder@ira.uka.de>
Tue, 15 Sep 2009 10:21:43 +0000 (15 12:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Sep 2009 19:47:26 +0000 (22 12:47 -0700)
tree6312a54cb26c73ca16de46562551ec6971315af0
parent3696c4ce89d97c34566a4a89720cfdae2a86fa38
bash: rename __git_find_subcommand() to __git_find_on_cmdline()

__git_find_subcommand() was originally meant to check whether
subcommands are already present on the command line.  But the code is
general enough to be used for checking the presence of command line
options as well, and the next commit will use it for that purpose, so
let's give it a more general name.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash