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.
This commit is contained in:
parent
0a623e7ce8
commit
f03f2ba0a5
@ -16,7 +16,8 @@ TMP_HEAD="$GIT_DIR/TMP_HEAD"
|
|||||||
case "$merge_repo" in
|
case "$merge_repo" in
|
||||||
http://*)
|
http://*)
|
||||||
head=$(wget -q -O - "$merge_repo/$merge_name") || exit 1
|
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://*)
|
||||||
rsync -L "$merge_repo/$merge_name" "$TMP_HEAD" || exit 1
|
rsync -L "$merge_repo/$merge_name" "$TMP_HEAD" || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user