diff tests/test-diffstat @ 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 bd3af545c7c6
line wrap: on
line diff
--- a/tests/test-diffstat	Sun Oct 25 02:52:36 2009 +0200
+++ b/tests/test-diffstat	Sun Oct 25 02:53:33 2009 +0200
@@ -29,3 +29,6 @@
 
 echo '% binary diffstat'
 hg diff --stat
+
+echo '% binary git diffstat'
+hg diff --stat --git