chiark / gitweb /
Add --binary flag to commands that generate diffs
authorKarl Hasselström <kha@treskal.com>
Mon, 21 May 2007 20:58:38 +0000 (21:58 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 21 May 2007 20:59:29 +0000 (21:59 +0100)
commit0f92637c75d03080d43a9b8a95527660d61d67a5
tree7b6d80ed579c9a8dbbf508e0679784b4c2137d2c
parent9536f81891b7cf97916499eaba8d5284ad7ee059
Add --binary flag to commands that generate diffs

This just passes the --binary option to git-diff-*, which causes the
generated diffs to contain an applyable diff even when binary files
differ. It's necessary to do this if you want to mail patches to
binary files.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/diff.py
stgit/commands/export.py
stgit/commands/mail.py
stgit/git.py