mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 15:23:54 +01:00
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 <jan@janware.com>
This commit is contained in:
parent
7d7cdc39dc
commit
e1200746e3
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ diff()
|
||||||
cd $pdir
|
cd $pdir
|
||||||
for d in $pdirs; do
|
for d in $pdirs; do
|
||||||
# marker $d
|
# 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
|
done
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue