]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
format-patch: add --inline option and make --attach a true attachment
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 3 Mar 2007 23:12:06 +0000 (00:12 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Mar 2007 01:31:29 +0000 (17:31 -0800)
commitc112f689c2c4dfbf2e4dca0e91aa527dd96ab333
tree4a7af06284f04f72986d773f8d29f904707996b3
parent3ddad98b74924d76116d05e7601ab1e163d68500
format-patch: add --inline option and make --attach a true attachment

The existing --attach option did not create a true "attachment"
but multipart/mixed with Content-Disposition: inline.  It should
have been with Content-Disposition: attachment.

Introduce --inline to add multipart/mixed that is inlined, and
make --attach to create an attachement.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-format-patch.txt
builtin-log.c
log-tree.c
revision.h
t/t4013-diff-various.sh
t/t4013/diff.format-patch_--attach_--stdout_initial..master
t/t4013/diff.format-patch_--attach_--stdout_initial..master^
t/t4013/diff.format-patch_--attach_--stdout_initial..side
t/t4013/diff.format-patch_--inline_--stdout_initial..master [new file with mode: 0644]
t/t4013/diff.format-patch_--inline_--stdout_initial..master^ [new file with mode: 0644]
t/t4013/diff.format-patch_--inline_--stdout_initial..side [new file with mode: 0644]