mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 08:17:44 +01:00
fix rebuild patches and rebuild current patches
This commit is contained in:
parent
4916cd2551
commit
9300f163fd
@ -22,5 +22,3 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
long i = d(chunkcoordintpair.x, chunkcoordintpair.z);
|
long i = d(chunkcoordintpair.x, chunkcoordintpair.z);
|
||||||
|
|
||||||
--
|
--
|
||||||
2.5.4 (Apple Git-61)
|
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ function savePatches {
|
|||||||
target=$2
|
target=$2
|
||||||
echo "Formatting patches for $what..."
|
echo "Formatting patches for $what..."
|
||||||
cd "$basedir/$target"
|
cd "$basedir/$target"
|
||||||
|
|
||||||
|
rm -rf "$basedir/${what_name}-Patches/*.patch"
|
||||||
git format-patch --no-stat -N -o "$basedir/${what_name}-Patches/" upstream/upstream >/dev/null
|
git format-patch --no-stat -N -o "$basedir/${what_name}-Patches/" upstream/upstream >/dev/null
|
||||||
cd "$basedir"
|
cd "$basedir"
|
||||||
git add -A "$basedir/${what_name}-Patches"
|
git add -A "$basedir/${what_name}-Patches"
|
||||||
|
Loading…
Reference in New Issue
Block a user