{"thread":{"id":"15914","subject":"StGIT 0.14.3: extra space is added before e-mail on export after \"stg edit\"","startedAt":"2008-10-15T16:25:14Z","lastAt":"2008-10-19T08:09:07Z","messageCount":3,"participants":["Andrey Borzenkov","Catalin Marinas"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"93106","messageId":"200810152025.19995.arvidjaar@mail.ru","threadId":"15914","inReplyTo":null,"subject":"StGIT 0.14.3: extra space is added before e-mail on export after \"stg edit\"","fromName":"Andrey Borzenkov","fromEmail":"arvidjaar@mail.ru","sentAt":"2008-10-15T16:25:14Z","receivedAt":"2008-10-15T16:25:14Z","isPatch":false,"sender":{"key":"arvidjaar@mail.ru","avatar":null},"body":"Hi,\n\nFunny problem. I have following export template:\n\nSubject: [PATCH] %(shortdescr)s\nFrom: %(authname)s %(authemail)s\n\n%(longdescr)s\nSigned-off-by: %(authname)s %(authemail)s\n\n---\n\n%(diffstat)s\n\nSo after \"stg new\", edit, \"stg refres\" (and any number of \"stg refresh\"es)\nit exports OK. But once I did \"stg edit patch\", all subsequent \"stg export patch\"\nwill give (assuming author is me@foo.net):\n\nFrom: My Name < me@foo.net>\n...\nSigned-off-by: My Name < me@foo.net>\n\nNotice extra space between \"<\" and e-mail.\n\nTIA\n\n-andrey\n"},{"id":"93348","messageId":"b0943d9e0810180148k4ba5bb2bgf3c5cdb2358b9419@mail.gmail.com","threadId":"15914","inReplyTo":"200810152025.19995.arvidjaar@mail.ru","subject":"Re: StGIT 0.14.3: extra space is added before e-mail on export after \"stg edit\"","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@gmail.com","sentAt":"2008-10-18T08:48:19Z","receivedAt":"2008-10-18T08:48:19Z","isPatch":false,"sender":{"key":"catalin.marinas@gmail.com","avatar":null},"body":"2008/10/15 Andrey Borzenkov <arvidjaar@mail.ru>:\n> Funny problem. I have following export template:\n>\n> Subject: [PATCH] %(shortdescr)s\n> From: %(authname)s %(authemail)s\n>\n> %(longdescr)s\n> Signed-off-by: %(authname)s %(authemail)s\n\nThe default templates contain \"%(authname)s <%(authemail)s>\", i.e.\nwith the angle brackets arount authemail and I've never seen this\nproblem. Does it work if you change them (or use the default\ntemplates)?\n\n-- \nCatalin\n"},{"id":"93418","messageId":"200810191209.14597.arvidjaar@mail.ru","threadId":"15914","inReplyTo":"b0943d9e0810180148k4ba5bb2bgf3c5cdb2358b9419@mail.gmail.com","subject":"Re: StGIT 0.14.3: extra space is added before e-mail on export after \"stg edit\"","fromName":"Andrey Borzenkov","fromEmail":"arvidjaar@mail.ru","sentAt":"2008-10-19T08:09:07Z","receivedAt":"2008-10-19T08:09:07Z","isPatch":false,"sender":{"key":"arvidjaar@mail.ru","avatar":null},"body":"On Saturday 18 October 2008, Catalin Marinas wrote:\n> 2008/10/15 Andrey Borzenkov <arvidjaar@mail.ru>:\n> > Funny problem. I have following export template:\n> >\n> > Subject: [PATCH] %(shortdescr)s\n> > From: %(authname)s %(authemail)s\n> >\n> > %(longdescr)s\n> > Signed-off-by: %(authname)s %(authemail)s\n> \n> The default templates contain \"%(authname)s <%(authemail)s>\", i.e.\n> with the angle brackets arount authemail and I've never seen this\n> problem. Does it work if you change them (or use the default\n> templates)?\n> \n\nWell, my GIT_AUTHOR_EMAIL was with angle brackets. I do not remember, why\n(apparently I had some issues in the past). I stripped brackets and changed\ntemplate, now it seems to work. I was never sure what exactly e-mail should\nlike like.\n\nThank you!\n"}]}