meta: remote_build no longer untracks new files after build

This commit is contained in:
Ariel A 2024-10-03 00:41:04 -04:00
parent 8d79ea1b19
commit ef462d9d9b

View File

@ -25,7 +25,8 @@ git push build --force-with-lease
if [[ $retVal -eq 0 ]]; then
commit_msg=$(git log -1 --pretty=%B)
if [[ "$commit_msg" == "$temp_commit_msg" ]]; then
git reset "$old_head" &>/dev/null
# Keep i(N)tent to add
git reset --mixed -N "$old_head" &>/dev/null
fi
fi
set -x