Code

bash completion: refactor diff options
authorThomas Rast <trast@student.ethz.ch>
Mon, 19 Jan 2009 21:18:00 +0000 (22:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Jan 2009 23:21:00 +0000 (15:21 -0800)
commit20bf7292314972d4c418056ad94c28c6363058d7
tree87e7f542ff91c4adbecc683855c2acde5c8b5a54
parent47d5a8fa7188cceb90fe50f1561e64381e8530a3
bash completion: refactor diff options

diff, log and show all take the same diff options.  Refactor them from
__git_diff and __git_log into a variable, and complete them in
__git_show too.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash