Skip to content

Commit

Permalink
pimps output
Browse files Browse the repository at this point in the history
  • Loading branch information
lkwg82 committed May 26, 2024
1 parent 95298a6 commit 8372394
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,18 @@ function git_maintenance() {
exit 1
fi

echo "-------------------------------"
echo " git maintenance for $PWD"
du -sh
echo "--^^ before ... running ..."

git maintenance run --task=gc
git maintenance run --task=pack-refs
git maintenance run --task=loose-objects

echo "-- after ..."
du -sh
echo "-------------------------------"
echo
}
export -f git_maintenance

0 comments on commit 8372394

Please sign in to comment.