diff options
author | Junio C Hamano <junkio@cox.net> | 2005-08-01 00:41:49 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-01 00:41:49 -0700 |
commit | 0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e (patch) | |
tree | 28b23775b72ee9c41a47bbf808049a42c6fa6f75 /git-fetch-script | |
parent | 182005b954d81b2a08162de93511ca238b242bea (diff) | |
download | git-0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e.tar.gz git-0f2b4c4654a046bc2ccaeafd3340450edf4aeb7e.tar.xz |
Retire git-fetch-dumb-http and missing-revs
Now git-http-pull knows how to do packed repo, retire scripted
hacks I placed as a stop-gap measure.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fetch-script')
-rwxr-xr-x | git-fetch-script | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/git-fetch-script b/git-fetch-script index 2040c125f..a0326f0e7 100755 --- a/git-fetch-script +++ b/git-fetch-script @@ -20,22 +20,8 @@ http://* | https://*) echo >&2 "Failed to fetch $merge_head from $merge_repo" exit 1 } - git-fetch-dumb-http "$head" "$@" - case "$?" in - 0) ;; - 2) no_dumb_http_support=1 ;; - *) exit;; - esac echo Fetching "$merge_head" using http - git-http-pull -v -a "$head" "$merge_repo/" || { - case "$no_dumb_http_support" in - 1) - echo >&2 "* This could be because the $merge_repo is packed without" - echo >&2 " preparing dumb server support files." - ;; - esac - exit 1 - } + git-http-pull -v -a "$head" "$merge_repo/" || exit ;; rsync://*) rsync -L "$merge_repo/$merge_head" "$TMP_HEAD" || exit 1 |