[PATCH modular 3/3] Enable progress on git clone.

Trevor Woerner twoerner at gmail.com
Mon Oct 4 03:54:39 PDT 2010


From: Trevor Woerner <twoerner at gmail.com>

If redirecting output to a log file, "git clone" will be quiet. It's
preferable to force it to not be quiet so the build doesn't look
stuck.

This introduces no change if not redirecting.

Signed-off-by: Trevor Woerner <twoerner at gmail.com>
---
 build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 33b416c..f1b37ac 100755
--- a/build.sh
+++ b/build.sh
@@ -204,7 +204,7 @@ clone() {
     GITROOT=${GITROOT:="git://anongit.freedesktop.org/git"}
 
     if [ ! -d "$DIR" ]; then
-        git clone "$GITROOT/$BASEDIR$DIR" "$DIR"
+        git clone --progress "$GITROOT/$BASEDIR$DIR" "$DIR"
         if [ $? -ne 0 ]; then
             echo "Failed to clone $1 module component $2. Ignoring."
             clonefailed_components="$clonefailed_components $1/$2"
-- 
1.7.3.1.50.g1e633



More information about the xorg-devel mailing list