wrapfs-2.* | wrapfs-3.* | wrapfs-4.* )
LINUX_REPO="stable/linux-stable.git"
LINUX_BRANCH=$(echo $WRAPFS_DIR | sed s/wrapfs/linux/g)
+
+ # make sure it ends with *.y.git
+ if [[ "$LINUX_BRANCH" != *".y" ]]; then
+ LINUX_BRANCH="$LINUX_BRANCH.y"
+ fi
;;
* )
echo "Please run the script in a wrapfs git repository."
exit 1
esac
+# make sure it ends with *.y.git
+if [[ "$WRAPFS_REPO" != *".y" ]]; then
+ WRAPFS_REPO=$(echo $WRAPFS_REPO | sed s/git/y.git/g)
+fi
+
runcmd git config merge.renameLimit 999999
# check if remote already exists