Prevent git gc to run automatically
Some commands will trigger git gc which can take a very long time to be done. Preventing this would be useful.
Or just detect it and print a message (showing the output would be the best).
I would prefer for you to print out all standard output (if its possible) because surely git gc is not the only thing which could happen.
To disable it, you have to git config --global gc.auto 0. I also think that the best would surely be to show the output from Git, but that requires some more work as at current, I am reading the entire output before eventually working on it. Needs more thoughts.
Though I've been working on some improvements and am using the module logging to set different level of loggings and eventually different logging handlers (for now stdout being used), this could certainly be used here.
Hint: Read "man tee"
On Mon, Mar 4, 2013 at 11:36 PM, Frédéric Massart [email protected]:
To disable it, you have to git config --global gc.auto 0. I also think that the best would surely be to show the output from Git, but that requires some more work as at current, I am reading the entire output before eventually working on it. Needs more thoughts.
Though I've been working on some improvements and am using the module logging to set different level of loggings and eventually different logging handlers (for now stdout being used), this could certainly be used here.
— Reply to this email directly or view it on GitHubhttps://github.com/FMCorz/mdk/issues/18#issuecomment-14386508 .