Latest attempt to fix commit diffs.
[profile.git] / .vim / script / svn
index 92cc8a5..bb05173 100644 (file)
@@ -23,12 +23,7 @@ fun! SVNcommit()
   set buftype=nowrite
   set bufhidden=hide
   setlocal noswapfile
-
-  " Change directory so "file [svn diff]" doesn't try to cd somewhere.
-  let l:cwd=getcwd()
-  cd /
-  file [svn diff]
-  cd l:cwd
+  file [svn diff\]
 
   " Switch back to the top window.
   wincmd k