Add --staged to bash completion for git diff
authorKevin McConnell <kevin.mcconnell@gmail.com>
Sat, 21 Mar 2009 23:29:27 +0000 (16:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2009 00:41:46 +0000 (17:41 -0700)
commitebd15bf0d732db7dec4cfd8bbfa2c7430b6e875c
tree2452ea8772aea5ccfe28c2cc27dcedd47174a025
parent26284f9356f4c4d8865db8bb024121311a1f90ff
Add --staged to bash completion for git diff

The --staged option (synonym for --cached) isn't listed in the
completion choices for git diff.  This tiny patch adds it.

Trivially-Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash