##// END OF EJS Templates
diffstat: with --git, mark binary files with Bin...
diffstat: with --git, mark binary files with Bin 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.

File last commit:

r9642:7d17794f default
r9642:7d17794f default
Show More
test-diffstat.out
15 lines | 485 B | text/plain | TextLexer
/ tests / test-diffstat.out
Brodie Rao
diff: add --stat for diffstat output...
r9640 % 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
Brodie Rao
diffstat: with --git, mark binary files with Bin...
r9642 b | 0
Brodie Rao
diff: add --stat for diffstat output...
r9640 1 files changed, 0 insertions(+), 0 deletions(-)
Brodie Rao
diffstat: with --git, mark binary files with Bin...
r9642 % binary git diffstat
b | Bin
1 files changed, 0 insertions(+), 0 deletions(-)