Browse Source

Work around git-http-pull breakage in git-fetch-script

Need to add a final slash.  And make it verbose by default, since it's
so slow that otherwise people will think it's died.
maint
Linus Torvalds 20 years ago
parent
commit
f03f2ba0a5
  1. 3
      git-fetch-script

3
git-fetch-script

@ -16,7 +16,8 @@ TMP_HEAD="$GIT_DIR/TMP_HEAD" @@ -16,7 +16,8 @@ TMP_HEAD="$GIT_DIR/TMP_HEAD"
case "$merge_repo" in
http://*)
head=$(wget -q -O - "$merge_repo/$merge_name") || exit 1
git-http-pull -a "$head" "$merge_repo"
echo Fetching $head using http
git-http-pull -v -a "$head" "$merge_repo/"
;;
rsync://*)
rsync -L "$merge_repo/$merge_name" "$TMP_HEAD" || exit 1

Loading…
Cancel
Save