Exclude identical files from Diff (between selected changesets)
When selecting two changesets on two different branches and choosing "Diff selected changesets", the resulting Changeset Diff view can contain identical files (files that do not differ at all between the two changesets). This could happen if the same change has been applied to a file on both branches, without a merge.
In this case I suggest that the identical files be hidden from the Diff view. The whole point of a Diff is to see the files that differ, not the ones that don't.
(NOTE: In my case, I had loads of identical files due to an import from Subversion via GitSync where some merges were not fully registered as such.)
-
Michael commented
Additional use case:
Given a file permission is changed by chmod a +x
When I update the pending changes
And do not change anything of the content
Then I see the the file in the pending changes.Sometimes we have issues between Linux and Windows users
-
Göran Wallgren commented
I see your point, but then there should be an option to hide/exclude the identical diffs.
-
Ok, we'll try to add that in the future.
Reason why it is there is because sometimes it is good to see there are new revisions, to understand some merges.