Use custom labels for the diffs #9
Loading…
Reference in a new issue
No description provided.
Delete branch "diff-labels"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Otherwise we leak the temporary file names which are also not interesting to the (innocent) user.
The change should make the diff go from:
to:
There may be more meaningful names to use than "left" and "right". I put the opam package name in the path. We can as well go with "a" and "b" instead of "left" and "right" similar to what git does.
This was motivated by the mollymawk PR @PixieDust created where the diff-to-html library renders it as the file was renamed. I don't know how that library will render this diff.
looks fine to me, I learned that diff has the option
--label
today.Thank you. It looks good. I think the diff will just display the file names