On 06/15/2011 05:23 PM, Michal Hocko wrote: > On Wed 15-06-11 17:16:37, Jan Safranek wrote: >> On 06/15/2011 05:14 PM, Michal Hocko wrote: >>> On Wed 15-06-11 16:52:49, Jan Safranek wrote: >>>> On 06/11/2011 09:43 AM, Michal Hocko wrote: >>>>> On Fri 10-06-11 13:12:32, Jan Safranek wrote: >>>>>> On 06/09/2011 05:25 PM, Michal Hocko wrote: >>>> >>>> hmmm, how does one import only the patch below (starting with From:) >>>> without this additional comment? I had to manually edit the patch :( >>> >>> I usually just save the email (shift+c in mutt) and drop everything up >>> to --- before the patch and then git am it then. >> >> That's too much work. I am not that lazy, but all manual editing of >> patches is error-prone. >> >> 'git am' should support scissors, it could work automatically (?) if >> unrelated comment is separated from the patch by '8<---' instead of >> plain '---'. But I've never used that, maybe we might try it next time :). > > Didn't know about that. Thanks for the tip.
So, experiment (and a little peek into git sources) shows, that the scissors line must be at least 8 characters long, i.e. '-- >8 --' or '8<------' or any similar combination. Simple '8<---' is just too short. Jan ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel