scan reflogs independently from refs
[gitweb.git] / git-fetch.sh
index 07a1d05ac7a30b08355f330f5300492ac5afb790..61c8cf477384fbcaa125f4a90883257492f98710 100755 (executable)
@@ -85,6 +85,12 @@ case "$#" in
        set x $origin ; shift ;;
 esac
 
+if test -z "$exec"
+then
+       # No command line override and we have configuration for the remote.
+       exec="--upload-pack=$(get_uploadpack $1)"
+fi
+
 remote_nick="$1"
 remote=$(get_remote_url "$@")
 refs=