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"
13 if [ -z "$prune_dir" ]; then
16 pushd "$prune_dir" &>/dev/null
17 exit_on_error "changing to directory: $prune_dir"
19 echo "cleaning git repo in directory $(pwd)"
22 exit_on_error "git fsck"
24 git gc --prune=today --aggressive
25 exit_on_error "git gc"
28 exit_on_error "git repack"
32 restore_terminal_title