Y
Hacker News
new
|
ask
|
show
|
jobs
by
jeltz
5106 days ago
The 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.
1 comments
kschults
5106 days ago
Ah, thanks for the correction.
Knowing that, this doesn't really matter, but "git lg -10" produces no output at all for me.
link
saraid216
5106 days ago
Really? "git lg -10" works perfectly for me, exactly as I expect. Did you add a "--" to the end accidentally, maybe?
link
kschults
5106 days ago
Indeed I was. That was in the shortcut when I originally looked at it. He has since edited it out. Thanks!
link
Knowing that, this doesn't really matter, but "git lg -10" produces no output at all for me.