Only show commits added to the branch in commit list

When I open the commit list for a branch, I want to see the commits that were added to that branch, not the entire commit history including commits that predate when I created the branch, so I can quickly determine the scope of changes in the branch. This would be the same list of commits shown in a merge request.

Fossil does this nicely:

  • GitHub: https://github.com/mackyle/sqlite/commits/prefer-coroutine-sort-subquery
  • Fossil: https://sqlite.org/src/timeline?r=prefer-coroutine-sort-subquery

Proposal

When I open the commit list for a branch, I'll see the list of commits added in comparison to the default branch

Example:

 ---V---W---X---Y---Z  (master)
         \ 
          A---B---C    (feature-foo)

Commit list would be:

  • C
  • B
  • A

Note: commits V and W aren't shown in the commit list

I should be able to switch back to the full commit log (current view)

Links / references

https://sqlite.org/whynotgit.html 0

Edited Sep 09, 2022 by Torsten Linz
Assignee Loading
Time tracking Loading