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 exit_on_error "changing to directory: $prune_dir"
17 echo "cleaning git repo in directory $(pwd)"
20 exit_on_error "git fsck"
22 git gc --prune=today --aggressive
23 exit_on_error "git gc"
26 exit_on_error "git repack"