Iterate on next/previous commits navigation #1960
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Internally we switch to short_hashes. This can be a temporary switch as we gain more information of the places where we actually uses hashes or allow also revs (e.g. branch names). After all, if we mark all places we could implement an internal map from short to long hashes (e.g. whenever we draw the graph), and switch to long hashes without a big cost. Note: we switch to short hashes here but it actually was wild, no-rules before, so we basically normalize our usages and get a sense of it.
Other than that: there is obviously no simple solution to which is the best newer or older commit of a given commit (as there might be many), so it is likely there are some decision made I don't remember right now.