reassign 670081 emacs retitle 670081 emacs: diff-mode mangles patches? thanks
On Mon, 2012-04-23 at 09:26:03 +0300, jaalto wrote: > On 2012-04-22 17:03, Jonathan Nieder wrote: > | jaalto wrote: > | > On 2012-04-22 21:52, Guillem Jover wrote: > | > | > | but it seems > | > | to me those are just somewhat bogus anyway, did you manually create > | > | that patch or maybe it was extracted from a mail client that mangles > | > | the body (evolution for example)? > | > > | > It was straight diff from git 1.7.10: > | > > | > git COMMIT COMMIT -- FILE > output.patch > | > | Are you sure? Can you send the exact command line and "git config -l | > | grep diff" output? > Unfortunately I'm not sure, now that I think of it. The diff was > combination of git + filterdiff + editing the headers in Emacs. > > It looks like Emacs diff-mode does something to it on save. Here is > test without any personal Emacs setup: > > emacs -Q -ne <file> > <add space, delete space (to flag modified); then save with new name> > > I'm attaching the result below, which I think exhibits the changes as > in original bug report *.patch file. In that case then, I'm reassigning to emacs, because it would seem like the editor might be mangling the patch. And not going to change dpkg-source to accept such patches because they are bogus and they would not be accepted by older dpkg-source versions anyway. In addition I just noticed you already filed this exact same report some months ago, which was closed as wontfix. thanks, guillem -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org