When browsing CHANGES and encountering a change Submodule, we can currently only see a "shallow" diff in terms of Author/Committer, SHA, Parents, Message from the 2 ("from", "to") sub-repo commits involved.
However, what's often very relevant is to see the actual changes between these two sub-repo commits. Achieving that is quite cumbersome, since we'd need to:
- Switch to the sub-repo tab (most relevantly by double-clicking the associated submodule entry on the super-repo tab)
- Remember the "from" commit-SHA, locate it in the log-graph and select it
- Remember the "to" commit-SHA, locate it in the log-graph and multi-select it
It would be super-handy and convenient if this cumbersome process could somehow be automated!
There's a Compare window which can be brought up for general comparison of 2 commits (for example by multi-selecting two tags and selecting "Compare 2 tags" from the context menu).
That same Compare window could be brought up, to show the changes between the 2 submodule commits in the sub-repo, via a new context command "Compare submodule commits" or similar on the changed Submodule in the list of CHANGES. (We might need to first switch to the sub-repo tab, possibly opening one if not already open. Or possibly it could be done without that extra step, instead perhaps just adding some indication in the Compare window that it's showing changes from a submodule repo.)
When browsing CHANGES and encountering a change Submodule, we can currently only see a "shallow" diff in terms of Author/Committer, SHA, Parents, Message from the 2 ("from", "to") sub-repo commits involved.
However, what's often very relevant is to see the actual changes between these two sub-repo commits. Achieving that is quite cumbersome, since we'd need to:
It would be super-handy and convenient if this cumbersome process could somehow be automated!
There's a Compare window which can be brought up for general comparison of 2 commits (for example by multi-selecting two tags and selecting "Compare 2 tags" from the context menu).
That same Compare window could be brought up, to show the changes between the 2 submodule commits in the sub-repo, via a new context command "Compare submodule commits" or similar on the changed Submodule in the list of CHANGES. (We might need to first switch to the sub-repo tab, possibly opening one if not already open. Or possibly it could be done without that extra step, instead perhaps just adding some indication in the Compare window that it's showing changes from a submodule repo.)