[BZ#749399] --label behavior unpredictable
Submitted by Josh Ventura
I've been trying to use --label to
meld --label=ONE --output "$MERGED"
--label=TWO --auto-merge "$LOCAL" "$BASE" "$REMOTE"
--label=THREE --diff "$BASE" "$REMOTE"
--label=FOUR --diff "$BASE" "$LOCAL"
The tabs are created in this order (see bug 749396):
[Remote diff], [Local diff], [Merge]
Their labels are as follows, respectively:
[ONE—filename], [ONE—filename], [ONE—filename—THREE]
More interestingly, if I remove labels ONE and TWO, the labels change entirely:
[THREE—filename], [THREE—filename], [THREE—filename—FIVE]
This makes it literally impossible to tell the two diffs apart without inspecting the changes, as the filename is the same. I have no idea what is going on with the merge title.
My expected behavior would be an error/warning on label TWO, and the following final labels:
[ONE—filename—THREE], [ONE—filename—FOUR], [ONE—filename—FIVE]
While I have the soapbox, I'll also point out that the documentation (man page) says --LABEL and not --label, which is apparently incorrect.