projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix multi_ack.
[git.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index
7143131
..
18e692a
100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-53,7
+53,11
@@
Perhaps git-update-server-info needs to be run there?"
while read sha1 refname
do
name=`expr "$refname" : 'refs/\(.*\)'` &&
while read sha1 refname
do
name=`expr "$refname" : 'refs/\(.*\)'` &&
- git-http-fetch -v -a -w "$name" "$name" "$1/" || exit 1
+ case "$name" in
+ *^*) ;;
+ *)
+ git-http-fetch -v -a -w "$name" "$name" "$1/" || exit 1
+ esac
done <"$clone_tmp/refs"
rm -fr "$clone_tmp"
}
done <"$clone_tmp/refs"
rm -fr "$clone_tmp"
}