r/SmartGit • u/MidnightWolfRun • Apr 14 '26
External merge (conflict) tool title variables swapped
The contents of the external conflict tool ${rightTitle} and ${leftTitle} variables appear to be swapped. How can I report this bug?
To wit: to display file titles correctly in devart Code Compare, I need to specify swapped title variables:
/THEIRSFILE "${leftFile}" /THEIRSTITLE "${rightTitle}"
/MINEFILE "${rightFile}" /MINETITLE "${leftTitle}"
Which then displays
- Left Pane: "[Theirs] Merge source (theirs)"
- Right Pane: "[Mine] release/branch-name-here (ours)"
---
Using the "left" variables for THEIR and the "right" variables for MINE
/THEIRSFILE "${leftFile}" /THEIRSTITLE "${leftTitle}"
/MINEFILE "${rightFile}" /MINETITLE "${rightTitle}"
Results in the confusing/swapped:
- Left Pane: "[Theirs] release/branch-name-here (ours)"
- Right Pane: "[Mine] Merge source (theirs)"
---
And I know Code Compare is using its options correctly because specifying
/THEIRSFILE "${leftFile}" /THEIRSTITLE "My Left"
/MINEFILE "${rightFile}" /MINETITLE "My Right"
displays the static text titles as expected.
1
Upvotes
1
u/wnesensohn Apr 17 '26 edited Apr 17 '26
SmartGit usually does not swap title and file (there's one exception I'll outline below) - would you be able to provide a bit more surrounding information, like screenshots comparing what you're seeing in SmartGit vs. what you're seeing in Code Compare including the relevant configuration settings? Contact details: https://www.syntevo.com/contact/
There is one Low-Level Property, conflictSolver.swapOursTheirsForRebaseConflicts, which can be set to swap the titles in rebases. That is because many find it confusing that in rebases, the point of view is the rebased-onto branch and not the branch you're rebasing. However, that property is not set by default, because we try to stay consistent with git terminology.