diff --git a/include/git.sh b/include/git.sh
index 43a4543419f7da20a7eb4bf804ae19f9857068df..3a6247d09632b9d29f6334bc8541d1cadc155eeb 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -101,6 +101,8 @@ fetch_submodule()
 
 tmpclone()
 {
+	[ "$repofail" = "y" ] && \
+	    printf "Cached clone failed; trying online.\n" 1>&2
 	repofail="n"
 
 	[ $# -lt 6 ] || rm -Rf "$3" || $err "git retry: !rm $3 ($1)"