mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +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
|
||||
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
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue