Commits

ZyX_I committed 1d4c52e Merge

Merge

  • Participants
  • Parent commits bf42ab4, 5dc0d0c
  • Branches svnsupport

Comments (0)

Files changed (1)

File plugin/aurum/drivers/git.vim

             let kwargs.all=1
         else
             let args+=['--']+a:1
-            for file in filter(copy(a:1),
-                        \      'filereadable(s:_r.os.path.join(a:repo.path, '.
-                        \                                     'v:val))')
+            let status=a:repo.functions.status(a:repo, 0, 0, a:1)
+            for file in status.unknown
                 call a:repo.functions.add(a:repo, file)
             endfor
+            for file in status.deleted
+                call a:repo.functions.forget(a:repo, file)
+            endfor
         endif
         if a:0>1 && !empty(a:2)
             let kwargs.author=a:2