From 0e0b12a630d2f4846488233cf33fe4abaa185112 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 18 Jul 2024 23:23:02 +0100 Subject: git.sh: warn when a cached clone fails Signed-off-by: Leah Rowe --- include/git.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/git.sh b/include/git.sh index 43a45434..3a6247d0 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)" -- cgit v1.2.1