tools: Add new files to diff as well
This commit is contained in:
parent
a863b17746
commit
898eb43360
@ -83,6 +83,7 @@ case $SUBCOMMAND in
|
|||||||
;;
|
;;
|
||||||
generate-diff)
|
generate-diff)
|
||||||
cd ${srcdir:-$WORKDIR/$name-$version}
|
cd ${srcdir:-$WORKDIR/$name-$version}
|
||||||
|
git add -N .
|
||||||
git diff > $LUNA_ROOT/ports/$name/$name.patch
|
git diff > $LUNA_ROOT/ports/$name/$name.patch
|
||||||
echo "Created $LUNA_ROOT/ports/$name/$name.patch. Remember to add patching code to the PACKAGE file!"
|
echo "Created $LUNA_ROOT/ports/$name/$name.patch. Remember to add patching code to the PACKAGE file!"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user