3 # compresses the git archive in the folder specified.
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
6 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
11 if [ -z "$prune_dir" ]; then
14 pushd "$prune_dir" &>/dev/null
15 test_or_die "changing to directory: $prune_dir"
17 echo "cleaning git repo in directory $(pwd)"
20 test_or_die "git fsck"
22 git gc --prune=today --aggressive
26 test_or_die "git repack"