mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 16:53:25 +00:00
e5cb9f94f6
Adds a new "ui.conflict-marker-style" config option. The "diff" option is the default jj-style conflict markers with a snapshot and a series of diffs to apply to the snapshot. New conflict marker style options will be added in later commits. The majority of the changes in this commit are from passing the config option down to the code that materializes the conflicts. Example of "diff" conflict markers: ``` <<<<<<< Conflict 1 of 1 +++++++ Contents of side #1 fn example(word: String) { println!("word is {word}"); %%%%%%% Changes from base to side #2 -fn example(w: String) { +fn example(w: &str) { println!("word is {w}"); >>>>>>> Conflict 1 of 1 ends } ``` |
||
---|---|---|
.. | ||
custom-backend | ||
custom-command | ||
custom-commit-templater | ||
custom-global-flag | ||
custom-operation-templater | ||
custom-working-copy |