4 ms·
Is there a way to limit this to the most recent N (either hard-coded or as an input) entries? It's a bit slow to load when it has to load all of the history eve
by kschults 14y ago
Is there a way to limit this to the most recent N (either hard-coded or as an input) entries? It's a bit slow to load when it has to load all of the history ever, and I usually only care about at most the last couple dozen commits.
- jeltz 14y agoThe built in automatic paging in git already makes sure it does not have to load all history. And --graph is what makes it slow. Adding a limit with git lg -10 seems to take about the same time as with no limit at all.
- kschults 14y agoAh, thanks for the correction. Knowing that, this doesn't really matter, but "git lg -10" produces no output at all for me.