@leroysheep / rag-system / commits / 29a0ea8c0d

dodoc: squelch transfer status output

Junio C Hamano committed Nov 8, 2007 at 02:02 UTC 29a0ea8c0dca3d4b2f2cc6365c1a213695e0a27f
1 file changed +6 -3
dodoc.sh
+6 -3
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