Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Teach bash about git-am/git-apply and their whitespace options.
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 9ed413554455a7869c6c2223319eb58b4f3e6463..d4ee93f75bba729c82560f0b2426d8f09f63d82e 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-48,6
+48,10
@@
Perhaps git-update-server-info needs to be run there?"
case "$name" in
*^*) continue;;
esac
+ case "$bare,$name" in
+ yes,* | ,heads/* | ,tags/*) ;;
+ *) continue ;;
+ esac
if test -n "$use_separate_remote" &&
branch_name=`expr "z$name" : 'zheads/\(.*\)'`
then