fix rebuild patches and rebuild current patches

This commit is contained in:
Aikar 2016-03-21 20:46:54 -04:00
parent 4916cd2551
commit 9300f163fd
2 changed files with 3 additions and 3 deletions

View File

@ -21,6 +21,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
ChunkCoordIntPair chunkcoordintpair = playerchunk.a();
long i = d(chunkcoordintpair.x, chunkcoordintpair.z);
--
2.5.4 (Apple Git-61)
--

View File

@ -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"