Mercurial > hg
diff tests/test-diffstat.out @ 9642:7d17794f08a9
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.
author | Brodie Rao <me+hg@dackz.net> |
---|---|
date | Sun, 25 Oct 2009 02:53:33 +0200 |
parents | 9e76232fbfbe |
children |
line wrap: on
line diff
--- a/tests/test-diffstat.out Sun Oct 25 02:52:36 2009 +0200 +++ b/tests/test-diffstat.out Sun Oct 25 02:53:33 2009 +0200 @@ -8,5 +8,8 @@ a | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) % binary diffstat - b | 0 + b | 0 1 files changed, 0 insertions(+), 0 deletions(-) +% binary git diffstat + b | Bin + 1 files changed, 0 insertions(+), 0 deletions(-)