X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=publish2web;h=af746e6dfaecc7d6808aa14a38beee282f8fb341;hb=dd5f99a8311bfaa7dea3d33048137e00a7d25831;hp=c66a6940b2c4655887789aa6f5e5946f237d03cd;hpb=9187d4d02c6f5aab348c08a0782c5114104e6d8e;p=git-scripts.git diff --git a/publish2web b/publish2web index c66a694..af746e6 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 repack -a -d -f --depth=250 --window=250 && +git gc --aggressive && +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 . &&