Add --keep-cr parameter to "git am"
authorLuK1337 <priv.luk@gmail.com>
Fri, 17 Feb 2017 16:33:07 +0000 (17:33 +0100)
committerLuK1337 <priv.luk@gmail.com>
Fri, 17 Feb 2017 16:33:07 +0000 (17:33 +0100)
* Fixes applying masquerade patches

patch.sh

index 97522063aad5a607d00649f6a67a62a2be1907ef..fd437027949a37414e4db143119d6d4f43f4f8a8 100755 (executable)
--- a/patch.sh
+++ b/patch.sh
@@ -17,7 +17,7 @@ REPOSITORIES=(
 for repository in "${REPOSITORIES[@]}"; do
     cd "${ROOT}/${repository}"
 
-    git am "${ROOT}/vendor/extra/patches/${repository}"/*
+    git am --keep-cr "${ROOT}/vendor/extra/patches/${repository}"/*
 
     cd "${ROOT}"
 done