Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Mon, Nov 28, 2011 at 11:46:44PM +0100, Eike Rathke Dwrote:
On Monday, 2011-11-28 10:39:25 +0100, Lionel Elie Mamane wrote:

~/src/libreoffice/libreoffice-3.4/clone/filters$ ( cd ~/src/libreoffice/core/; git format-patch 
--stdout b645f9195f4da3014e001fb27b8a117d89c8f389^1..b645f9195f4da3014e001fb27b8a117d89c8f389 ) 
| git am -s

Just a hint: with format-patch option -1 you don't need to specify the
commit twice to form a range, so

~/src/libreoffice/libreoffice-3.4/clone/filters$ ( cd ~/src/libreoffice/core/; git format-patch 
--stdout -1 b645f9195f4da3014e001fb27b8a117d89c8f389 ) | git am -s

Ah, thanks, that's indeed more practical to type.

Also, I've just lived on another backport that the patch failed to
apply because of tabs vs spaces... In that case:

git am --abort
Repeat the command adding the --ignore-space-change option to the "git
am" call.

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.