]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Add an option to create patches without binary contents
authorBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:52:44 +0000 (00:52 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 May 2020 02:55:45 +0000 (20:55 -0600)
commit14aa35ad551b3d35a5c7ba8871eb67bd05f1f9b0
tree5fe89636262e3830b7f3bc927e651c996093570d
parent0fc01bf826036698a8d0eb8405e832a6a759472e
patman: Add an option to create patches without binary contents

Some mailing lists have size limits and when we add binary contents
to our patches it's easy to exceed the size limits.

Git supports a command line option "--no-binary" to generate patches
without any binary contents. Add an option in patman to handle this.
Note with this option patches cannot be applied properly, but they
are still useful for code review.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/README
tools/patman/gitutil.py
tools/patman/main.py