paperweight
paperweight copied to clipboard
Run git prune after applying patches
After changing branches, applying patches, changing to other branches, this seems to prevent the frequent message that instructs users to run git prune and then delete .git/gc.log.
Can add if needed, the deletion of the .git/gc.log file, as that's what actually stops the warning message from being shown
This is a weird area where pruning much of the time is generally somewhat of an idea given how we rip the tree apart so violently, but, those loose objects can be used during a 3 way to aid in merging automagically
Yeah, I don't know enough about how git works to know what exactly causes the issue I'm trying to fix here, but DenWav said PRs are open for it, so I took a stab at it. I haven't noticed anything bad so far, but just might not have done the one thing that this breaks, or hampers.