I am encountering an interesting issue. I am not certain if I am doing something wrong or I am encountering a bug or what. I am using Git version 1.6.0.6 from Fedora 9. I am not using the current version because it has changed how it errors out. (If git does not understand the patch, instead of exiting with an error code that xargs will fail on it exits with something non-fatal.) I have a number of patches that I have been handed to apply to a git tree. The patches have been generated by git, but have not been e-mailed. (They may have been extracted from gitweb or some other source.) The header of the patch looks like: commit 62b266585bb5555d44a764c90d80f9c4bb8188c1 Author: Joe Example <joe@xxxxxxxxxxx> Date: Wed Sep 19 10:03:47 2009 -0600 There is no e-mail line, but it has the information for e-mail address. If I apply this patch it will error out with: "Patch does not have a valid e-mail address." If I use a current version of Git it errors out with a message "Cannot determine patch format", but does not issue a fatal error code. If I use git-apply on this patch, it applies it to the tree, but does not commit it. (I need the comments and signoffs to remain intact.) I have to cut-and-paste the commit information to keep it. (I am working on an automated process to handle these patches and don' want to have to reinvent git-am.) Am i doing something wrong here? My goal is to be able to take whatever patch I am handed and apply it to the current tree. If it is a raw diff, I can handle that. What concerns me are these patches that look like they are generated by git, but which do not apply cleanly with git-am. Is there some sort of instructions for applying patches that are dumped out using "git-show" or some other mechanism? I am not finding this process documented anywhere. (If it is, it is pretty well hidden.) Thanks! -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html