Maybe svn too? But no one should be using that.
Some git repositories, such as KolItemPrices (55mb) or garbage collector (76mb), have a long commit history. Cloning these repositories downloads the entire history, resulting in a relatively large .git directory which can be an issue for some users.
I was thinking about a new preference that allows users to limit the depth of the git history stored locally. Set to a default, probably 50? Setting it to 0 or less would disable the feature. An alternative is to only remember recent commits, but that seems more complicated.
Looking at GitManager, updating git clone is the easiest part, you can call
Some git repositories, such as KolItemPrices (55mb) or garbage collector (76mb), have a long commit history. Cloning these repositories downloads the entire history, resulting in a relatively large .git directory which can be an issue for some users.
I was thinking about a new preference that allows users to limit the depth of the git history stored locally. Set to a default, probably 50? Setting it to 0 or less would disable the feature. An alternative is to only remember recent commits, but that seems more complicated.
Looking at GitManager, updating git clone is the easiest part, you can call
setDepth
. But the other half of this, pruning an existing repo, seems a bit more complicated, especially with the "changelog" thing.
Last edited: