From e1200746e337bb0892ed72b1b4ce3f43b64ac741 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 1 Jun 2017 08:41:00 +0000 Subject: [PATCH] pgit.sh: Use plain directory path for diff prefix The diff source and destination in diff used to be a/path/to/file.txt and b/path/to/file.txt which differed from cvs diff -u. Changed that, now make diff in the toplevel directory creates usable patches for all sources. Signed-off-by: Jan Lindemann --- scripts/pgit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pgit.sh b/scripts/pgit.sh index 9a35b7e3..99cedf78 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -119,7 +119,7 @@ diff() cd $pdir for d in $pdirs; do # marker $d - run_git -C $d diff --src-prefix=a/$d/ --dst-prefix=b/$d/ "$@" + run_git -C $d diff --src-prefix=$d/ --dst-prefix=$d/ "$@" done )}