- Update: The checkfor function was split off into its own
- (included) module.
This scripts looks for all directories in the users' home directory that are managed by the git revision control system (i.e. that have a .git subdirectory).
For each of those directories it checks wether there are uncommitted changes by running git status. If there aren't any, it runs git gc using the --auto option, to cleanup and optimize the repository.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
-----END PGP SIGNATURE-----