Mercurial > hg
comparison tests/test-diffstat.out @ 9640:9e76232fbfbe
diff: add --stat for diffstat output
diff/qdiff --stat invokes patch.diffstat() on the diff output.
When in interactive mode, the output's maximum width is determined by the
terminal's width.
author | Brodie Rao <me+hg@dackz.net> |
---|---|
date | Sun, 25 Oct 2009 02:52:35 +0200 |
parents | |
children | 7d17794f08a9 |
comparison
equal
deleted
inserted
replaced
9639:5384a22ab698 | 9640:9e76232fbfbe |
---|---|
1 % wide diffstat | |
2 a | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
3 1 files changed, 213 insertions(+), 0 deletions(-) | |
4 % diffstat width | |
5 a | 213 ++++++++++++++ | |
6 1 files changed, 213 insertions(+), 0 deletions(-) | |
7 % narrow diffstat | |
8 a | 3 +++ | |
9 1 files changed, 3 insertions(+), 0 deletions(-) | |
10 % binary diffstat | |
11 b | 0 | |
12 1 files changed, 0 insertions(+), 0 deletions(-) |