mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
fix rebuild patches and rebuild current patches
This commit is contained in:
parent
4916cd2551
commit
9300f163fd
@ -21,6 +21,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
ChunkCoordIntPair chunkcoordintpair = playerchunk.a();
|
||||
long i = d(chunkcoordintpair.x, chunkcoordintpair.z);
|
||||
|
||||
--
|
||||
2.5.4 (Apple Git-61)
|
||||
|
||||
--
|
@ -30,6 +30,8 @@ function savePatches {
|
||||
target=$2
|
||||
echo "Formatting patches for $what..."
|
||||
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
|
||||
cd "$basedir"
|
||||
git add -A "$basedir/${what_name}-Patches"
|
||||
|
Loading…
Reference in New Issue
Block a user