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. --- ChangeLog | 4 ++++ Completion/Unix/Command/_git | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index d8955503c..e53903002 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-08-16 Clint Adams + * 25463: Completion/Unix/Command/_git: patch to add git + completion for --base/-1, --ours/-2 and --theirs/-3, from + Mikael Magnusson. + * 25462: Completion/Unix/Command/_git: patch to add some -s -w to _arguments and new options for revert, from Mikael Magnusson. 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 1.4.1