mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
docs: explain long conflict markers
Some checks failed
binaries / Build binary artifacts (push) Has been cancelled
nix / flake check (push) Has been cancelled
build / build (, macos-13) (push) Has been cancelled
build / build (, macos-14) (push) Has been cancelled
build / build (, ubuntu-latest) (push) Has been cancelled
build / build (, windows-latest) (push) Has been cancelled
build / build (--all-features, ubuntu-latest) (push) Has been cancelled
build / Build jj-lib without Git support (push) Has been cancelled
build / Check protos (push) Has been cancelled
build / Check formatting (push) Has been cancelled
build / Check that MkDocs can build the docs (push) Has been cancelled
build / Check that MkDocs can build the docs with latest Python and uv (push) Has been cancelled
build / cargo-deny (advisories) (push) Has been cancelled
build / cargo-deny (bans licenses sources) (push) Has been cancelled
build / Clippy check (push) Has been cancelled
Codespell / Codespell (push) Has been cancelled
website / prerelease-docs-build-deploy (ubuntu-latest) (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
Some checks failed
binaries / Build binary artifacts (push) Has been cancelled
nix / flake check (push) Has been cancelled
build / build (, macos-13) (push) Has been cancelled
build / build (, macos-14) (push) Has been cancelled
build / build (, ubuntu-latest) (push) Has been cancelled
build / build (, windows-latest) (push) Has been cancelled
build / build (--all-features, ubuntu-latest) (push) Has been cancelled
build / Build jj-lib without Git support (push) Has been cancelled
build / Check protos (push) Has been cancelled
build / Check formatting (push) Has been cancelled
build / Check that MkDocs can build the docs (push) Has been cancelled
build / Check that MkDocs can build the docs with latest Python and uv (push) Has been cancelled
build / cargo-deny (advisories) (push) Has been cancelled
build / cargo-deny (bans licenses sources) (push) Has been cancelled
build / Clippy check (push) Has been cancelled
Codespell / Codespell (push) Has been cancelled
website / prerelease-docs-build-deploy (ubuntu-latest) (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
This commit is contained in:
parent
e5361c6cc0
commit
0dbcdf7233
1 changed files with 20 additions and 0 deletions
|
@ -164,3 +164,23 @@ ORANGE
|
|||
This conflict marker style only supports 2-sided conflicts though, so it falls
|
||||
back to the similar "snapshot" conflict markers if there are more than 2 sides
|
||||
to the conflict.
|
||||
|
||||
## Long conflict markers
|
||||
|
||||
Some files may contain lines which could be confused for conflict markers. For
|
||||
instance, a line could start with `=======`, which looks like a Git-style
|
||||
conflict marker. To ensure that it's always unambiguous which lines are conflict
|
||||
markers and which are just part of the file contents, `jj` sometimes uses
|
||||
conflict markers which are longer than normal:
|
||||
|
||||
```
|
||||
<<<<<<<<<<<<<<< Conflict 1 of 1
|
||||
%%%%%%%%%%%%%%% Changes from base to side #1
|
||||
-Heading
|
||||
+HEADING
|
||||
=======
|
||||
+++++++++++++++ Contents of side #2
|
||||
New Heading
|
||||
===========
|
||||
>>>>>>>>>>>>>>> Conflict 1 of 1 ends
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue