[PATCH] Update git-daemon documentation wrt. the --verbose parameter
[gitweb.git] / git-clone.sh
index bfb8fd628536c5bbb08c9d07c7e93455cd253650..44135f489d55c29eb2e7dce1b892471c55b9914b 100755 (executable)
@@ -152,7 +152,8 @@ yes,yes)
                # Look at objects/info/alternates for rsync -- http will
                # support it natively and git native ones will do it on the
                # remote end.  Not having that file is not a crime.
-               rsync -q "$repo/objects/info/alternates" "$D/.git/TMP_ALT" ||
+               rsync -q "$repo/objects/info/alternates" \
+                       "$D/.git/TMP_ALT" 2>/dev/null ||
                        rm -f "$D/.git/TMP_ALT"
                if test -f "$D/.git/TMP_ALT"
                then