-
Notifications
You must be signed in to change notification settings - Fork 365
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
FR: sort commits by template-aliases.commit_timestamp #5273
Comments
Do you mean the order of graph nodes? It's basically creation order in non-linear part (with some tweaks to group nodes topologically.) We could add an option to sort non-graph log, but implementation-wise, there would be no relation to templater. |
Yes, I mean the order of sibling graph nodes. Consider this example:
These result in the following state:
Now if we run
|
Ok, relevant code is here: Lines 187 to 194 in 6c14ccd
I have no idea how to expose the feature, but we'll probably need to
It is now displayed in order of appearance (or indexed order.) |
I tried the new commit_timestamp knob and I think I like author timestamp better -- but the log graph still uses committer timestamp to sort commits. It would be nice to somehow use commit_timestamp directly or at least provide another knob to sort by author timestamp.
I think @yuja's #2078 (that adds CommitByCommitterTimestamp) would be a good reference for a potential implementation.
The text was updated successfully, but these errors were encountered: