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:
16711fb
)
Do a better job of finding the .rej files to edit (since they can
author
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 09:52:32 +0000
(09:52 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 18 May 2004 09:52:32 +0000
(09:52 +0000)
be in a subdir).
verify-patches
patch
|
blob
|
blame
|
history
diff --git
a/verify-patches
b/verify-patches
index
44251d6
..
7100d32
100755
(executable)
--- a/
verify-patches
+++ b/
verify-patches
@@
-59,14
+59,14
@@
for xx in "${@}"; do
[Ee]*)
[ ! -z "$new" ] && cvs add $new
new=''
- rm -f *.rej *.orig
+ rm -f *.rej *.orig
*/*.rej */*.orig
sed '/^--- /,$ d' $xx >,new.patch
cvs diff -N | egrep -v '^(diff -|===============|RCS file: |retrieving revision |Index: )' >>,new.patch
vim -d $xx ,new.patch
default=U
;;
[Ff]*)
- vim
*.rej
+ vim
`sed -ne 's/.* saving rejects to file //p' ,patch.output`
default=E
;;
[Uu]*)