bash: offer refs instead of filenames for 'git revert'
commitc07838371b116251b6c4bc62a2ba64109baf74f1
authorSZEDER Gábor <szeder@ira.uka.de>
Thu, 27 Nov 2008 13:35:53 +0000 (27 14:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Nov 2008 02:35:07 +0000 (27 18:35 -0800)
tree69818d6d234bdb7a3b944a849e52af03e7cbfcb9
parent8d8163f377829d5f61f6053bd55fdcecaf360d4c
bash: offer refs instead of filenames for 'git revert'

The completion script for 'git revert' currently offers options and
filenames.  However, 'git revert' doesn't take any filenames from the
command line, but a single commit.  Therefore, it's more sane to offer
refs instead.

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