jj/cli
Yuya Nishihara 8c4ba4a144 diff: fix unified diff to emit one-lower start line number for empty hunks
Both Mercurial and Git (xdiff) have a special case for empty hunks.

https://repo.mercurial-scm.org/hg/rev/2b1ec74c961f

I also changed the internal line numbers to start from 0 so we wouldn't have
to think about whether "N - 1" would underflow.

Fixes #5049
2024-12-09 09:52:07 +09:00
..
examples conflicts: add "ui.conflict-marker-style" config 2024-11-23 08:28:47 -06:00
src diff: fix unified diff to emit one-lower start line number for empty hunks 2024-12-09 09:52:07 +09:00
testing style: inline variables into format strings 2024-10-04 22:29:13 +02:00
tests diff: fix unified diff to emit one-lower start line number for empty hunks 2024-12-09 09:52:07 +09:00
build.rs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
Cargo.toml completion: suggest file paths incrementally 2024-12-01 11:06:36 +01:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00