diff options
author | Brandon Casey <drafnel@gmail.com> | 2013-02-12 02:17:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-12 11:08:59 -0800 |
commit | f2b9a7555bb7791fa8d137da033b403d16af5085 (patch) | |
tree | 66b3ff0a82da83b4fb1ac5fee8b6ac1fc2c9553f /remote.c | |
parent | 4c9941943bebbe23039254cdda576ecd97e1d397 (diff) | |
download | git-f2b9a7555bb7791fa8d137da033b403d16af5085.tar.gz |
t/t3511: add some tests of 'cherry-pick -s' functionality
Add some tests to ensure that 'cherry-pick -s' operates in the following
manner:
* Inserts a blank line before appending a s-o-b to a commit message that
does not contain a s-o-b footer
* Does not mistake first line "subject: description" as a s-o-b footer
* Does not mistake single word message body as conforming to rfc2822
* Appends a s-o-b when last s-o-b in footer does not match committer
s-o-b, even when committer's s-o-b exists elsewhere in footer.
* Does not append a s-o-b when last s-o-b matches committer s-o-b
* Correctly detects a non-conforming footer containing a mix of s-o-b
like elements and s-o-b elements. (marked "expect failure")
Signed-off-by: Brandon Casey <bcasey@nvidia.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions