From: Junio C Hamano Date: Thu, 01 Mar 2007 12:08:20 GMT Subject: Re: Memory overrun in http-push.c Message-ID: <7vr6s9qi8b.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070301120042.GD63606@codelabs.ru> Eygene Ryabinkin writes: > Good day! > >> was more annoyed by the fact that the patch was an attachment, >> than it was generated by diff without leading a/ and b/ paths. > > So, git is unable to use this type of patches directly and I will > need to do > $ patch < patchfile > $ rm file.orig > $ git commit In case it was unclear, I was saying that "attachment was more annoying" than "diff output that does not follow the established convention to be applied with patch -p1". Both I can handle, but dealing with the former is more work for me.