commit d6f7fa43143e162168b723273179355976957a02
parent 9e04e33eb844836a8c8679d0d581f3b279658167
Author: kristapsdz <kristaps@bsd.lv>
Date: Mon, 16 Mar 2020 16:00:37 +0000
parent 9e04e33eb844836a8c8679d0d581f3b279658167
Author: kristapsdz <kristaps@bsd.lv>
Date: Mon, 16 Mar 2020 16:00:37 +0000
Have a new clone also check out the .git last commit thing.
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/minci.sh b/minci.sh @@ -7,6 +7,7 @@ MAKE="make" API_SECRET= DEP_BINS="mandoc openssl git curl" +# TODO: make sqlite3 be per-system. NOOP= LOG= VERBOSE= @@ -251,6 +252,9 @@ do then cd "$reponame" fi + # Grabs the newest .git/FETCH_HEAD. + run "git fetch origin" "$reponame" || break + run "git reset --hard origin/master" "$reponame" || break fi # If the FETCH_HEAD commit doesn't change when we freshen the
: nply/minci