Replies: 2 comments 12 replies
-
Interesting point. Thanks for raising it! I'm a bit flummoxed -- I see how this can be confusing, but I'm also having a hard time seeing how this could be redesigned to work better. I find You may have already figured this out, but to clarify what's going on: In your example, the rebase would have created a conflict. Since So, everything is "working as designed" AFAICT, and it's the design we'd have to adjust to help with this. |
Beta Was this translation helpful? Give feedback.
-
The
You would then get something like this:
Instead of just "Part 2" there, we could say something like "Discarded diff", but that might make it sound like the diff we display is the forward diff (i.e. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In an interdiff between 2 commits that do not resolve any conflicts, and that do not agree on the initial state of a modified file, the output states "conflict resolved in <file>". This is not necessarily problematic, but it was surprising, and I think it could probably be improved.
Here's a fairly minimal example of what I mean:
jj git init
echo "foo" > foo
jj branch create foo
jj new
echo "bar" > foo
jj new
echo "baz" > foo
jj branch create baz
jj new foo
echo "qux" > foo
jj branch create qux
jj interdiff --from baz --to qux
output is:
I don't really know what the output should say, which is why I haven't made this a proper bug report or feature request. It just seems that the current output is misleading, as there is no actual resolved conflict in an interdiff. I thought it was a bug, initially, until I managed to find a minimal example and realised it was just an ordinary conflict in an interdiff.
Beta Was this translation helpful? Give feedback.
All reactions