Bug 486103
Summary: | git-send-email adds incorrect CC and corrupts commit message | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Hutař <jhutar> |
Component: | git | Assignee: | Todd Zullinger <tmz> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | bkearney, chrisw, jwboyer, tmz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-02-20 14:01:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Hutař
2009-02-18 13:07:24 UTC
This should probably be in the git-send-email manpage, but there are two formats for the files accepted. As stated at the top of the git-send-email script: # 1. mbox format files (ignoring most headers and MIME formatting - this is designed for sending patches) # 2. The original format support by Greg's script: # first line of the message is who to CC, # and second line is the subject of the message. So, in your case, send-email finds that the file is not in mbox format, and tries to use the second format. As your file starts with "Hello," this is used as the Cc. I'll try to work up a documentation patch to clarify this and submit upstream. I see, thank you - I can do the patch if you want. Is editing man page enough (I see other docs in /usr/share/doc/git-email-1.6.0.6/)? No need, I whipped one up the other night and Junio applied it to git¹. This will filter back to Fedora at least for rawhide and F11. I don't know that it's worth carrying a patch for git-1.6.0.x in F10 for or not. If you think it is, please re-open. ¹ http://git.kernel.org/?p=git/git.git;a=commitdiff;h=c4ba87a6e |