-
-
Notifications
You must be signed in to change notification settings - Fork 605
fix sorting of commits in diff view #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
don't know how to write tests for my changes |
@extrawurst this is ready for review |
4 long months, he waits... |
@Joshix-1 the problem with this change is that it is right in the hotpath for giant repos like linux. can you benchmark the differences with and without your change? |
How and what can I benchmark? Shouldn't it improve performance as commits aren't unneccessarily sorted by date in most cases? |
check the log for this line (after the commits are all collected in the log tab):
|
and please update to current master to get ready to merge |
my gitui is in Linux:this pr:
current master
Kubernetesthis pr
current master
|
@Joshix-1 thanks, lgtm! |
Commits were sorted by time in diff view. That's wrong as some people like to commit in the future or past.
To see the fix just compare my commit to one before by selecting both and pressing SHIFT+C.
This Pull Request fixes/closes #{issue_num}.
It changes the following:
I followed the checklist:
make check
without errors