Revision 9553d2b26395d9a19bf60875784661090f607f4a authored by Jeff King on 26 May 2011, 22:28:17 UTC, committed by Junio C Hamano on 26 May 2011, 22:56:55 UTC
In older versions of git, we used rfc822 header folding to indicate that the original subject line had multiple lines in it. But since a1f6baa (format-patch: wrap long header lines, 2011-02-23), we now use header folding whenever there is a long line. This means that "git am" cannot trust header folding as a sign from format-patch that newlines should be preserved. Instead, format-patch needs to signal more explicitly that the newlines are significant. This patch does so by rfc2047-encoding the newlines in the subject line. No changes are needed on the "git am" end; it already decodes the newlines properly. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6bf1394
File | Mode | Size |
---|---|---|
fnmatch | ||
nedmalloc | ||
regex | ||
vcbuild | ||
win32 | ||
basename.c | -rw-r--r-- | 334 bytes |
bswap.h | -rw-r--r-- | 1.0 KB |
cygwin.c | -rw-r--r-- | 4.8 KB |
cygwin.h | -rw-r--r-- | 275 bytes |
fopen.c | -rw-r--r-- | 931 bytes |
hstrerror.c | -rw-r--r-- | 513 bytes |
inet_ntop.c | -rw-r--r-- | 4.8 KB |
inet_pton.c | -rw-r--r-- | 6.9 KB |
memmem.c | -rw-r--r-- | 752 bytes |
mingw.c | -rw-r--r-- | 39.3 KB |
mingw.h | -rw-r--r-- | 8.1 KB |
mkdtemp.c | -rw-r--r-- | 153 bytes |
mmap.c | -rw-r--r-- | 747 bytes |
msvc.c | -rw-r--r-- | 113 bytes |
msvc.h | -rw-r--r-- | 1.1 KB |
pread.c | -rw-r--r-- | 433 bytes |
qsort.c | -rw-r--r-- | 1.1 KB |
setenv.c | -rw-r--r-- | 786 bytes |
snprintf.c | -rw-r--r-- | 1.4 KB |
strcasestr.c | -rw-r--r-- | 431 bytes |
strlcpy.c | -rw-r--r-- | 247 bytes |
strtok_r.c | -rw-r--r-- | 1.9 KB |
strtoumax.c | -rw-r--r-- | 217 bytes |
unsetenv.c | -rw-r--r-- | 558 bytes |
win32.h | -rw-r--r-- | 872 bytes |
win32mmap.c | -rw-r--r-- | 903 bytes |
winansi.c | -rw-r--r-- | 6.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...