Do not show binary diffs when editing patch
commit37ef8f1859a191c35340dacea848f282f9a6b727
authorPeter Grayson <pete@jpgrayson.net>
Mon, 13 Sep 2021 22:36:24 +0000 (13 18:36 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Tue, 14 Sep 2021 03:05:09 +0000 (13 23:05 -0400)
treed4508a94c60e72002ebb2d78452469781e328c19
parent931effb04d78b942ffd667d0771b28c75291e9bb
Do not show binary diffs when editing patch

Nobody is going to edit the base85-encoded content of binary diffs.

N.B. in order for diffs containing "Binary files ... differ" notations
to apply, the full sha1 must be present in the diff indexes. Thus
--full-index is now used with `git diff-tree`.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
stgit/lib/edit.py
stgit/lib/git/repository.py