Mercurial > hg
diff tests/test-show.t @ 32191:31f42e683321
diff: add a fast path to avoid loading binary contents
When diffing binary contents, with certain configs, we can show
"Binary file <name> has changed" without actual content.
That allows a fast path where we could avoid providing actual binary
contents. Note: in that case we still need to test if two contents are the
same, that's done by using "filectx.cmp", which could have its own fast
path.
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 03 May 2017 23:50:41 -0700 |
parents | 0bb157bebb43 |
children | 99ce2f586cd4 |