diff options
Diffstat (limited to 'git2redcrew.sh')
-rwxr-xr-x | git2redcrew.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git2redcrew.sh b/git2redcrew.sh index 964e6e1..142acd7 100755 --- a/git2redcrew.sh +++ b/git2redcrew.sh @@ -29,7 +29,7 @@ done # Shift past the last option parsed by getopts shift $((OPTIND-1)) -if [ -d .git ] ; then +if [ -e .git ] ; then git gc --aggressive --prune=now REPO="$(basename "$(git rev-parse --show-toplevel)")" cd .. |