From 71b215074ad70ad63f076cb2b1fa306ee98f1128 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 16 Aug 2008 17:56:15 +0000 Subject: 25463: patch to add git completion for --base/-1, --ours/-2 and --theirs/-3, from Mikael Magnusson. --- Completion/Unix/Command/_git | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Completion/Unix/Command/_git') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index cb04d62ce..e8efa520d 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -55,6 +55,9 @@ diff_args=( '(-a --text)'{-a,--text}'[treat all files as text]' '(-b --ignore-space-change -w --ignore-all-space)'{-b,--ignore-space-change}'[ignore changes in amount of white space]' '(-b --ignore-space-change -w --ignore-all-space)'{-w,--ignore-all-space}'[ignore white space when comparing lines]' + '(-1 --base)'{-1,--base}'[diff against stage 1]' + '(-2 --ours)'{-2,--ours}'[diff against stage 2]' + '(-3 --theirs)'{-3,--theirs}'[diff against stage 3]' $abbrev_arg $nul_arg '--exit-code[report exit code 1 if differences, 0 otherwise]' -- cgit v1.2.3