mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
7c2f2247c5
Normally, diffs without any text insertions or deletions are reported as having 0 lines changed by stock diffstat. Compatibility is preserved with stock diffstat in this case, but when using --git, binary files are marked with Bin as a means of clarification. git diff --stat does something similar, though it also includes the old and new file sizes.
16 lines
485 B
Plaintext
16 lines
485 B
Plaintext
% wide diffstat
|
|
a | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
1 files changed, 213 insertions(+), 0 deletions(-)
|
|
% diffstat width
|
|
a | 213 ++++++++++++++
|
|
1 files changed, 213 insertions(+), 0 deletions(-)
|
|
% narrow diffstat
|
|
a | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
% binary diffstat
|
|
b | 0
|
|
1 files changed, 0 insertions(+), 0 deletions(-)
|
|
% binary git diffstat
|
|
b | Bin
|
|
1 files changed, 0 insertions(+), 0 deletions(-)
|