diff options
author | Caio Marcelo de Oliveira Filho <cmarcelo@gmail.com> | 2008-05-09 19:55:43 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-11 10:12:19 -0700 |
commit | 37c22a4bf801403f71a5e9674d8e314ce575945e (patch) | |
tree | 79c28a0744ecb092a845f7e8b8dd8ca766ae944e /Documentation/git-format-patch.txt | |
parent | c998ae9baa1cc5f507646da9850731de634d2ee7 (diff) | |
download | git-37c22a4bf801403f71a5e9674d8e314ce575945e.tar.gz |
git-format-patch: add --no-binary to omit binary changes in the patch.
Add a new option --no-binary to git-format-patch so that no binary
changes are included in the generated patches, only notices that those
files changed. This generate patches that cannot be applied, but still
is useful for generating mails for code review purposes.
See also: commit e47f306d4bf964def1a0b29e8f7cea419471dffd, where --binary
option was turned on by default.
Signed-off-by: Caio Marcelo de Oliveira Filho <cmarcelo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r-- | Documentation/git-format-patch.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 87e491b59e..7548a21d35 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -156,6 +156,12 @@ want a filename like `0001-description-of-my-change.patch`, and the first letter does not have to be a dot. Leaving it empty would not add any suffix. +--no-binary:: + Don't output contents of changes in binary files, just take note + that they differ. Note that this disable the patch to be properly + applied. By default the contents of changes in those files are + encoded in the patch. + CONFIGURATION ------------- You can specify extra mail header lines to be added to each message |