Code

bash completion: add basic support for git-reflog
authorTay Ray Chuan <rctay89@gmail.com>
Thu, 16 Dec 2010 06:56:08 +0000 (14:56 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Dec 2010 19:55:19 +0000 (11:55 -0800)
commit057f327972e7016703317e65e7af144a8e244d0a
tree52ac4708cf95dde8e0ee1a92d35a9c3f36f9f2f6
parent1b9743462d9ef3c0e73a3c439de45c0c16b6c938
bash completion: add basic support for git-reflog

"Promote" the reflog command out of plumbing, so that we now run
completion for it. After all, it's listed under porcelain (ancillary),
and we do run completion for those commands.

Add basic completion for the three subcommands - show, expire, delete.
Try completing refs for these too.

Helped-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash