[OE-core] [Consolidated & Tested 10/35] scripts/combo-layer: keep carriage returns at the end of lines
Saul Wold
sgw at linux.intel.com
Wed Jul 27 07:47:00 UTC 2011
From: Paul Eggleton <paul.eggleton at linux.intel.com>
Use --keep-cr option to "git am" or otherwise we lose carriage returns
which can be important for patches against files that use CRs.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
scripts/combo-layer | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 84cc48f..d129175 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -254,7 +254,7 @@ def action_apply_patch(conf, args):
for line in open(repo['patchlist']):
patchfile = line.split()[0]
lastrev = line.split()[1]
- cmd = "git am -s -p1 %s" % patchfile
+ cmd = "git am --keep-cr -s -p1 %s" % patchfile
logger.info("Apply %s" % patchfile )
try:
runcmd(cmd)
--
1.7.3.4
More information about the Openembedded-core
mailing list