]> git.ipfire.org Git - thirdparty/git.git/commitdiff
dodoc: squelch transfer status output
authorJunio C Hamano <gitster@pobox.com>
Thu, 8 Nov 2007 10:02:59 +0000 (02:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Nov 2007 10:02:59 +0000 (02:02 -0800)
dodoc.sh

index 78cfad32409d609e2033808078e45cb0e3467480..826b039fdf487d7b44cf07c9b7c9b6f4572bfb29 100755 (executable)
--- 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