diff options
author | Stephen Boyd <bebarino@gmail.com> | 2010-10-04 00:05:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-04 00:12:13 -0700 |
commit | 3c3bb51c3b205a6838b022896c9323d4b25bf392 (patch) | |
tree | 03eb8b996e1d3f851843139d20c33c7921adfa9b /Documentation/technical/api-remote.txt | |
parent | send-email: Use To: headers in patch files (diff) | |
download | tgif-3c3bb51c3b205a6838b022896c9323d4b25bf392.tar.xz |
send-email: Don't leak To: headers between patches
If the first patch in a series has a To: header in the file and the
second patch in the series doesn't the address from the first patch will
be part of the To: addresses in the second patch. Fix this by treating the
to list like the cc list. Have an initial to list come from the command
line, user input and config options. Then build up a to list from each
patch and concatenate the two together before sending the patch. Finally,
reset the list after sending each patch so the To: headers from a patch
don't get used for the next one.
Reported-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-remote.txt')
0 files changed, 0 insertions, 0 deletions