Use canonical diff format.
authorIain Patterson <me@iain.cx>
Fri, 22 Aug 2008 15:30:32 +0000 (15:30 +0000)
committerIain Patterson <me@iain.cx>
Fri, 22 Aug 2008 15:30:32 +0000 (15:30 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@140 6be0d1a5-5cfe-0310-89b6-964be062b18b

.vim/script/p4

index 9f77833..ecaacaf 100644 (file)
@@ -17,7 +17,7 @@ fun! P4submit()
 
         " Create a new window, move it below the spec and read in a diff.
         botright new
-        r!p4 diff
+        r!env P4DIFF= p4 diff -du
         setf diff
 
         " Delete the blank line left above the diff.