git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21daee3
)
Latest attempt to fix commit diffs.
author
Iain Patterson
<me@iain.cx>
Tue, 16 Jun 2009 11:09:38 +0000
(12:09 +0100)
committer
Iain Patterson
<me@iain.cx>
Tue, 16 Jun 2009 11:10:47 +0000
(12:10 +0100)
.vim/script/p4
patch
|
blob
|
history
.vim/script/svn
patch
|
blob
|
history
diff --git
a/.vim/script/p4
b/.vim/script/p4
index
59e28a1
..
8b6ee16
100644
(file)
--- a/
.vim/script/p4
+++ b/
.vim/script/p4
@@
-37,12
+37,7
@@
fun! P4submit()
set buftype=nowrite
set bufhidden=hide
setlocal noswapfile
-
- " Change directory so "file [p4 diff]" doesn't try to cd somewhere.
- let l:cwd=getcwd()
- cd /
- file [p4 diff]
- cd l:cwd
+ file [p4 diff\]
" Switch back to the top window and put the cursor by the description.
wincmd k
diff --git
a/.vim/script/svn
b/.vim/script/svn
index
92cc8a5
..
bb05173
100644
(file)
--- a/
.vim/script/svn
+++ b/
.vim/script/svn
@@
-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