[ ${PIPESTATUS[0]} -eq 0 ] || $SHELL -i || exit 1
}
-mmotm="../../mmotm/text"
+mmotm="../mmotm"
sfile="$mmotm/series"
cpwd=$(pwd)
[ -f "$mmotm/broken-out/origin.patch" ] &&
base=$(sed -n '1s/^GIT *\([^ ]*\).*$/\1/p' "$mmotm/broken-out/origin.patch")
-[ "$base" ] ||
- base=$(git describe --abbrev=0 origin/master)
+[ "$base" ] || {
+ base=$(tail -n 1 "$mmotm/.DATE")
+ base=${base#v}
+ base="v${base}"
+}
nbase=$(sed -n '1s/^GIT *\([^ ]*\).*$/\1/p' "$mmotm/broken-out/linux-next.patch")
git rev-parse --verify "$base" >/dev/null || {
log "Unknown origin BASE $base"