Code

bash: remove unnecessary conditions when checking for subcommands
authorSZEDER Gábor <szeder@ira.uka.de>
Mon, 10 Mar 2008 15:02:22 +0000 (16:02 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 10 Mar 2008 23:45:20 +0000 (19:45 -0400)
commit1d17b22ebf9d894cef393e3e062f383aad8817e8
tree88ee1f437230a2f5bba7e84c8572a5950809b057
parenta5c4f85b1685aeb01f4dac88075f465c71a6c82d
bash: remove unnecessary conditions when checking for subcommands

Checking emptyness of $command is sufficient.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/completion/git-completion.bash