X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=publish2web;h=e9652d5f411f78b98d7f7dd662fd7e3253082a97;hb=cbbebd570fc6d3f3d125893003946b6749d5fb38;hp=c66a6940b2c4655887789aa6f5e5946f237d03cd;hpb=ea428ed4a72a5ee839abf6f84aeaf4e72bcf20ce;p=git-scripts.git diff --git a/publish2web b/publish2web index c66a694..e9652d5 100755 --- a/publish2web +++ b/publish2web @@ -18,7 +18,7 @@ dest_dir="`basename \"$source_dir\"`".git && git clone --mirror --config core.sharedRepository=0644 "$source_dir" "$dest_dir" && cd "$dest_dir" && -git repack -a -d -f --depth=250 --window=250 && +git repack -a -d -f --depth=20 --window=250 && git fsck --strict && cp -p hooks/post-update.sample hooks/post-update && hooks/post-update && cp -p "$HOME"/Internet/WWW/htdocs/git.phdru.name/phdru.name/phdru.name.git/git-daemon-export-ok . &&