summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba50532)
raw | patch | inline | side by side (parent: ba50532)
author | Alex Riesen <raa.lkml@gmail.com> | |
Wed, 23 May 2007 21:31:13 +0000 (23:31 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 25 May 2007 04:37:03 +0000 (21:37 -0700) |
Use "-v -v" to run git-fetch-pack in verbose mode.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh | patch | blob | history |
diff --git a/git-fetch.sh b/git-fetch.sh
index 0e05cf1195737d2c7afc4b9447d7b4105908bf77..6d3a3468b3f22d8eeb1a2ba568a6c8ed48606dbd 100755 (executable)
--- a/git-fetch.sh
+++ b/git-fetch.sh
quiet=--quiet
;;
-v|--verbose)
- verbose=Yes
+ verbose="$verbose"Yes
;;
-k|--k|--ke|--kee|--keep)
keep='-k -k'
echo "$ls_remote_result" | \
git-fetch--tool pick-rref "$rref" "-"
else
+ flags=
+ case $verbose in
+ YesYes*)
+ flags="-v"
+ ;;
+ esac
git-fetch-pack --thin $exec $keep $shallow_depth \
- $quiet $no_progress "$remote" $rref ||
+ $quiet $no_progress $flags "$remote" $rref ||
echo failed "$remote"
fi
fi