mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Ports: Force full-length file indices when formatting patches
This keeps file index lengths from being dependent on internals of the repository.
This commit is contained in:
parent
72c059535e
commit
453323f3c1
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ do_dev() {
|
||||||
if [ "$first_hash" != "$current_hash" ]; then
|
if [ "$first_hash" != "$current_hash" ]; then
|
||||||
>&2 echo "Note: Regenerating patches as there are some commits in the port repo (started at $first_hash, now is $current_hash)"
|
>&2 echo "Note: Regenerating patches as there are some commits in the port repo (started at $first_hash, now is $current_hash)"
|
||||||
rm -fr "${PORT_META_DIR}"/patches/*.patch
|
rm -fr "${PORT_META_DIR}"/patches/*.patch
|
||||||
git -C "$git_repo" format-patch --no-numbered --zero-commit --no-signature "$first_hash" -o "$(realpath "${PORT_META_DIR}/patches")"
|
git -C "$git_repo" format-patch --no-numbered --zero-commit --no-signature --full-index "$first_hash" -o "$(realpath "${PORT_META_DIR}/patches")"
|
||||||
do_generate_patch_readme
|
do_generate_patch_readme
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue