jj/cli
Martin von Zweigbergk 7618b52b79 cli: consider "JJ:" lines as comments also when not followed by space
We currently ignore lines prefixed with "JJ: " (including the space)
in commit messages and in the list of sparse paths from `jj sparse
edit`. I think I included the trailing space in the prefix simply
because that's how we render comments line we insert before we ask the
user to edit the file. However, as #5004 says, Git doesn't require a
space after their "#" prefix. Neither does Mercurial after their "HG:"
prefix. So let's follow their lead and not require the trailing
space. Seems useful especially for people who have their editor
configured to strip trailing spaces.
2024-12-04 10:40:56 -08:00
..
examples conflicts: add "ui.conflict-marker-style" config 2024-11-23 08:28:47 -06:00
src cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08:00
testing
tests cli: consider "JJ:" lines as comments also when not followed by space 2024-12-04 10:40:56 -08: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