teach bash completion to treat commands with "--" as a helper
commit718a087a47cc148f74027a3a26d71994ff71bdd8
authorJeff King <peff@peff.net>
Sat, 15 Dec 2007 11:11:54 +0000 (15 06:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Dec 2007 19:55:48 +0000 (16 11:55 -0800)
treed539ed330fdac8fdc74f335e400d4c91c310d36f
parent52499977350b95ba7166e5c835b09cdbc20a3d02
teach bash completion to treat commands with "--" as a helper

There is a convention that commands containing a double-dash
are implementation details and not to be used by mortals. We
should automatically remove them from the completion
suggestions as such.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash