jj/src
Martin von Zweigbergk 0aa738a518 view: add support for conflicting git refs in the model
This adds support for having conflicting git refs in the view, but we
never create conflicts yet. The `git_refs()` revset includes all "add"
sides of any conflicts. Similarly `origin/main` (for example) resolves
to all "adds" if it's conflicted (meaning that `jj co origin/main` and
many other commands will error out if `origin/main` is
conflicted). The `git_refs` template renders the reference for all
"adds" and adds a "?" as suffix for conflicted refs.

The reason I'm adding this now is not because it's high priority on
its own (it's likely extremely uncommon to run two concurrent `jj git
refresh` and *also* update refs in the underlying git repo at the same
time) but because it's a building block for the branch support I've
planned (issue #21).
2021-07-24 19:01:56 -07:00
..
commands.rs cli: make jj describe not rewrite commit if description was unchanged 2021-07-24 10:33:40 -07:00
diff_edit.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
formatter.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
graphlog.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
lib.rs styler: rename Styler to more standard Formatter 2021-06-05 08:38:28 -07:00
main.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
template_parser.rs styler: rename Styler to more standard Formatter 2021-06-05 08:38:28 -07:00
template.pest import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo 2020-12-12 00:23:38 -08:00
templater.rs view: add support for conflicting git refs in the model 2021-07-24 19:01:56 -07:00
testutils.rs project: rename project from Jujube to Jujutsu 2021-05-15 10:28:40 -07:00
ui.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00