commit e06985802585eeed2ff7bbb66b183ef76b8378b6
parent 45ce018e43540eb0268b4f414ac8ac98a822baec
Author: lash <dev@holbrook.no>
Date: Fri, 14 Jan 2022 16:05:55 +0000
Add path to fail
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gitrefresh.sh b/gitrefresh.sh
@@ -43,10 +43,12 @@ repo_update() {
# ...
# fi
# sed -e "s/^.*:\(.*\)$/\1/g"
+ >&2 echo "remote update failed in $(pwd)"
return 1
fi
git fetch > /dev/null
if [ "$?" == "0" ]; then
+ >&2 echo "fetch failed in $(pwd)"
return 1
fi
if [ ! -z "$_pull" ]; then