projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust diff-raw tests to the status letter change.
[git.git]
/
git-clone-script
diff --git
a/git-clone-script
b/git-clone-script
index
a808c02
..
60dc2a9
100755
(executable)
--- a/
git-clone-script
+++ b/
git-clone-script
@@
-89,8
+89,17
@@
yes,yes)
rsync $quiet -avz --ignore-existing "$repo/refs/" "$D/.git/refs/"
;;
http://*)
rsync $quiet -avz --ignore-existing "$repo/refs/" "$D/.git/refs/"
;;
http://*)
- echo "Somebody should add http fetch" >&2
- exit 1
+ git-clone-dumb-http "$repo" "$D"
+ case "$?" in
+ 2)
+ echo "Somebody should define smarter http server protocol" >&2
+ exit 1
+ ;;
+ 0)
+ ;;
+ *)
+ exit
+ esac
;;
*)
cd "$D" && case "$upload_pack" in
;;
*)
cd "$D" && case "$upload_pack" in