X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=publish2web;h=c66a6940b2c4655887789aa6f5e5946f237d03cd;hb=9187d4d02c6f5aab348c08a0782c5114104e6d8e;hp=eff60e31a684693bf1a564fa9f10352f4c52a690;hpb=9af8979b66ee8ba1fb15df2cb4e724325c99a2b0;p=git-scripts.git diff --git a/publish2web b/publish2web index eff60e3..c66a694 100755 --- a/publish2web +++ b/publish2web @@ -18,7 +18,8 @@ dest_dir="`basename \"$source_dir\"`".git && git clone --mirror --config core.sharedRepository=0644 "$source_dir" "$dest_dir" && cd "$dest_dir" && -git gc --aggressive && git fsck --strict && +git repack -a -d -f --depth=250 --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 . && if [ "`cat \"$source_dir\"/.git/description`" = \