From 3455b99aa1ef0b9155d1c226e2ad8ebb939df042 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 21 May 2004 09:18:47 +0000 Subject: [PATCH] Strip off the new "a/" and "b/" path prefixes in the diff headers. --- verify-patches | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/verify-patches b/verify-patches index 7100d32..6cc2c17 100755 --- 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 ;; -- 2.34.1