Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tg: tickle gc --auto when appropriate
Any of tg import, tg export or tg update could potentially result in creation of a fair number of new loose objects as part of their normal operation. Run the "git gc --auto" command at the end of these commands to hint to Git that it's a good time to check and see if any automatic gc might need to be performed. Be careful to first clean up any TopGit temporary directory before running "git gc --auto" to avoid having it hanging around during any automatic gc operation. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters