about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_patch3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f2376b878..247792554 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-29  Clint Adams  <clint@zsh.org>
+
+	* 26482: Completion/Unix/Command/_patch: complete patch -U,
+	--unified-reject-files, --global-reject-file.
+
 2009-01-29  Peter Stephenson  <pws@csr.com>
 
 	* 26466: Src/Zle/compmatch.c: with suffix, bld_line() got
@@ -11028,5 +11033,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4530 $                         
+* $Revision: 1.4531 $                         
 *****************************************************
diff --git a/Completion/Unix/Command/_patch b/Completion/Unix/Command/_patch
index c85720d1c..3c18cebb0 100644
--- a/Completion/Unix/Command/_patch
+++ b/Completion/Unix/Command/_patch
@@ -112,6 +112,9 @@ if (( ! $+_patch_args )); then
 
     '* --use-index-line *' '--use-index-line[deal with Index: line]'
     '* --patch-root=DIR *' '--patch-root=[restrict paths]:patch root:_files -/'
+
+    '* -U  --unified-reject-files *' '(-U --unified-reject-files)'{-U,--unified-reject-files}'[create unified reject files]'
+    '* --global-reject-file=file *' '--global-reject-file=[put all rejects into one file]:file:_files'
   )
   _patch_args=(
     ${arg:+"-s"}