Mercurial > public > mercurial-scm > hg
diff tests/test-help.t @ 31822:fde4822b0102
diff: add --binary option for git mode diffs
This patch adds --binary option to `hg diff` and `hg export` to allow more
control about when binary diffs are displayed in Git mode as well as some
tests to verify it behaves correctly (issue5510).
author | Alexander Fomin <afomin@fb.com> |
---|---|
date | Wed, 05 Apr 2017 15:31:08 -0700 |
parents | 07edd8c2f59a |
children | d7b698ae153b |
line wrap: on
line diff
--- a/tests/test-help.t Wed Apr 05 15:15:06 2017 -0700 +++ b/tests/test-help.t Wed Apr 05 15:31:08 2017 -0700 @@ -545,6 +545,7 @@ -c --change REV change made by revision -a --text treat all files as text -g --git use git extended diff format + --binary generate binary diffs in git mode (default) --nodates omit dates from diff headers --noprefix omit a/ and b/ prefixes from filenames -p --show-function show which function each change is in