OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a623e7
)
Work around git-http-pull breakage in git-fetch-script
author
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 5 Jul 2005 19:02:10 +0000
(12:02 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 5 Jul 2005 19:02:10 +0000
(12:02 -0700)
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.
git-fetch-script
patch
|
blob
|
history
diff --git
a/git-fetch-script
b/git-fetch-script
index
244fc50
..
8a2d37d
100755
(executable)
--- a/
git-fetch-script
+++ b/
git-fetch-script
@@
-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