about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-26 14:18:46 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2022-01-29 10:08:43 +0000
commita956caa2339ea8ae07765943687925c7c2a836bf (patch)
tree3e378cf2bac2a27cccdef813d0f4b9ec263ddba4 /Completion
parenta803a5f4c46629c18c05a9ee09d5ae34407e35c4 (diff)
downloadzsh-a956caa2339ea8ae07765943687925c7c2a836bf.tar.gz
zsh-a956caa2339ea8ae07765943687925c7c2a836bf.tar.xz
zsh-a956caa2339ea8ae07765943687925c7c2a836bf.zip
49714: _subversion: resolve: Complete conflicted files created by merges, too
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_subversion6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index cb5cbd374..e9a3d9b1a 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -364,7 +364,11 @@ _svn_uncontrolled() {
 
 (( $+functions[_svn_conflicts] )) ||
 _svn_conflicts() {
-  () { (( $# > 0 )) } $REPLY.(mine|r<->)(NY1)
+  # ### These strings are actually translatable
+  #
+  # The asterisks are to support an optional extension; see
+  # "preserved-conflict-file-exts" in ~/.subversion/config.
+  () { (( $# > 0 )) } $REPLY.(mine|r<->|working*|merge-left*|merge-right*)(NY1)
 }
 
 (( $+functions[_svn_modified] )) ||