Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b675ff
)
Strip off the new "a/" and "b/" path prefixes in the diff headers.
author
Wayne Davison
<wayned@samba.org>
Fri, 21 May 2004 09:18:47 +0000
(09:18 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 21 May 2004 09:18:47 +0000
(09:18 +0000)
verify-patches
patch
|
blob
|
blame
|
history
diff --git
a/verify-patches
b/verify-patches
index
7100d32
..
6cc2c17
100755
(executable)
--- a/
verify-patches
+++ b/
verify-patches
@@
-61,7
+61,9
@@
for xx in "${@}"; do
new=''
rm -f *.rej *.orig */*.rej */*.orig
sed '/^--- /,$ d' $xx >,new.patch
- cvs diff -N | egrep -v '^(diff -|===============|RCS file: |retrieving revision |Index: )' >>,new.patch
+ cvs diff -N |
+ egrep -v '^(diff -|===============|RCS file: |retrieving revision |Index: )' |
+ sed -e 's:^--- a/:--- :' -e 's:^+++ b/:+++ :' >>,new.patch
vim -d $xx ,new.patch
default=U
;;