comparison tests/test-diff-binary-file.t @ 21790:3fbef7ac26f0

diff: add nobinary config to suppress git-style binary diffs
author Stephen Lee <sphen.lee@gmail.com>
date Sat, 21 Jun 2014 15:56:49 +1000
parents f2719b387380
children 0db6810e84e8
comparison
equal deleted inserted replaced
21789:15baed3f24ee 21790:3fbef7ac26f0
35 gQItJW-{SoTm)8|5##k|m00000NkvXXu0mjf3JwksH2?qr 35 gQItJW-{SoTm)8|5##k|m00000NkvXXu0mjf3JwksH2?qr
36 36
37 37
38 $ hg diff --git -r 0 -r 2 38 $ hg diff --git -r 0 -r 2
39 39
40 $ hg diff --config diff.nobinary=True --git -r 0 -r 1
41 diff --git a/binfile.bin b/binfile.bin
42 Binary file binfile.bin has changed
43
40 $ cd .. 44 $ cd ..