Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Optionally work without python
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index e192b08c0dc3ab410e371fe07af96b9b5b59f22a..cf410faaa38af6858dbe11ce7516bcd90c2882e3 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-153,7
+153,7
@@
yes,yes)
fi &&
rm -f "$GIT_DIR/objects/sample" &&
cd "$repo" &&
- find objects -depth -print | cpio -pu
a
md$l "$GIT_DIR/" || exit 1
+ find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1
;;
yes)
mkdir -p "$GIT_DIR/objects/info"