7 : ${GIT_OBJECT_DIRECTORY="${SHA1_FILE_DIRECTORY-"$GIT_DIR/objects"}"}
10 # remote_path="$1" local_file="$2"
13 wget -q -O "$2" "$1" ;;
15 test -f "$1" && cat >"$2" "$1" ;;
22 # remote_repo="$1" head_sha1="$2"
25 git-http-pull -a "$2" "$1/"
28 git-local-pull -l -a "$2" "$1/"
31 rsync -avz --ignore-existing \
32 "$1/objects/." "$GIT_OBJECT_DIRECTORY"/.
37 echo "Getting remote $merge_name"
38 download_one "$merge_repo/$merge_name" "$GIT_DIR"/FETCH_HEAD || exit 1
40 echo "Getting object database"
41 download_objects "$merge_repo" "$(cat "$GIT_DIR"/FETCH_HEAD)" || exit 1