Commits

ZyX_I committed 2d27f85

@aurum/cmdutils: Now :AuCommit called on

Comments (0)

Files changed (1)

plugin/aurum/cmdutils.vim

     let r={}
     let r.repo=a:bvar.repo
     let  r.rev=empty(a:bvar.rev2) ? a:bvar.rev1 : a:bvar.rev2
-    if a:ann==-2
-        let r.files=a:bvar.files
-    else
-        let r.file=s:F.getdifffile(a:bvar)
-        if r.file is 0 && a:failmsg isnot 0
-            return 0
-        endif
-        if a:ann>=0
-            leftabove vnew
-        endif
+    " XXX Maybe it should pull in all filenames instead when ann=-2?
+    let r.file=s:F.getdifffile(a:bvar)
+    if r.file is 0 && a:failmsg isnot 0
+        return 0
+    endif
+    if a:ann>=0
+        leftabove vnew
     endif
     return r
 endfunction