From: Junio C Hamano Date: Thu, 8 Nov 2007 10:02:59 +0000 (-0800) Subject: dodoc: squelch transfer status output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a0ea8c0dca3d4b2f2cc6365c1a213695e0a27f;p=thirdparty%2Fgit.git dodoc: squelch transfer status output --- diff --git a/dodoc.sh b/dodoc.sh index 78cfad3240..826b039fdf 100755 --- a/dodoc.sh +++ b/dodoc.sh @@ -40,8 +40,10 @@ DOCREPO=`pwd` tmp=`pwd`/.doctmp-$$ trap 'rm -f "$tmp".*' 0 -git pull "$MASTERREPO" master && -git fetch --tags "$MASTERREPO" || exit $? +( + git pull "$MASTERREPO" master && + git fetch --tags "$MASTERREPO" +) >/dev/null 2>/dev/null || exit $? test $(git-rev-parse --verify refs/heads/master) == "$ID" && NID=$(git-describe --abbrev=4 "$ID") && test '' != "$NID" || exit $? @@ -118,7 +120,8 @@ do if git commit -a -m "Autogenerated $TYPE for $NID" then - git send-pack "$MASTERREPO" master:refs/heads/$type + git send-pack "$MASTERREPO" master:refs/heads/$type \ + >/dev/null 2>&1 else echo "* No changes in $type docs" fi