mirror of
https://github.com/jj-vcs/jj.git
synced 2026-07-09 18:34:06 +08:00
The primary benefit of this change is that it splits "lines_added()" and "lines_removed()" into separate fields, which will be useful for tools. Many tools use "status()", "lines_added()", "lines_removed()", "source()" and "target()" to show useful information about every file modified in a commit. The existing diff stats summary shows only the combined number of lines modified, along with a "percentage" representation of line additions vs. deletions. This is lossy and not useful for tools, since it is impossible to arrive at the exact number of lines added and deleted.
54 KiB
54 KiB