completion: difftool takes both revs and files
commitd8517cc6670d4ba18e9b77a83b2481aec0edbc32
authorRamkumar Ramachandra <artagnon@gmail.com>
Sun, 2 Jun 2013 14:03:41 +0000 (2 19:33 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Jun 2013 17:30:04 +0000 (3 10:30 -0700)
treeb7238f0a241ac6a5b3f18c5543f3f3bc6f75ccf8
parentedca4152560522a431a51fc0a06147fc680b5b18
completion: difftool takes both revs and files

'git difftool' is clearly a frontend to 'git diff' and is used in
exactly the same way, but it uses a misleadingly named completion
function __git_complete_file.  It happens to work only because it
calls __git_complete_revlist_file that completes both revs and
paths.

Change it to use __git_complete_revlist_file, just like 'git diff'.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash