diff options
author | Stephen Boyd <bebarino@gmail.com> | 2009-03-22 19:14:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-22 21:45:19 -0700 |
commit | 108dab2811701c20d6d6e8d9fe8af88e41d65d77 (patch) | |
tree | 7f421f58447ff79392778c433f061d7fcbb91f2a /revision.h | |
parent | 6fa8e6278b210bfa56fcb54ed38d2b485350e7c6 (diff) | |
download | git-108dab2811701c20d6d6e8d9fe8af88e41d65d77.tar.gz |
format-patch: --attach/inline uses filename instead of SHA1
Currently when format-patch is used with --attach or --inline the patch
attachment has the SHA1 of the commit for its filename. This replaces
the SHA1 with the filename used by format-patch when outputting to
files.
Fix tests relying on the SHA1 output and add a test showing how the
--suffix option affects the attachment filename output.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/revision.h b/revision.h index ad123d78c5..5259ed5192 100644 --- a/revision.h +++ b/revision.h @@ -86,6 +86,8 @@ struct rev_info { struct log_info *loginfo; int nr, total; const char *mime_boundary; + const char *patch_suffix; + int numbered_files; char *message_id; struct string_list *ref_message_ids; const char *add_signoff; |