about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_subversion3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 204e7e676..80f900ef2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-13  Clint Adams  <clint@zsh.org>
+
+	* 23214: Completion/Unix/Commands/_subversion: complete files
+	after svn commit --file.
+
 2007-02-10  Felix Rosencrantz <f.rosencrantz@gmail.com>
 
 	* unposted: Completion/Unix/Command/_comm: added -s flag to
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 75f33e205..84e63a343 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -40,7 +40,8 @@ _svn () {
             )
           ;;
           (commit)
-            args+=(
+            args=(
+	      ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
               '*:file:_files -g "*(e:_svn_status:)"'
             )
           ;;