You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/10/03 00:57:33 UTC
[jira] [Resolved] (HADOOP-11159) Use 'git apply' to apply patch
instead of 'patch' command in Jenkins
[ https://issues.apache.org/jira/browse/HADOOP-11159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang resolved HADOOP-11159.
----------------------------------
Resolution: Duplicate
Dupe of HADOOP-10926, suggesting we do the same thing.
> Use 'git apply' to apply patch instead of 'patch' command in Jenkins
> --------------------------------------------------------------------
>
> Key: HADOOP-11159
> URL: https://issues.apache.org/jira/browse/HADOOP-11159
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Affects Versions: 2.6.0
> Reporter: Akira AJISAKA
>
> Currently a patch to change files with CR+LF (such as *.cmd) created by 'git diff' command cannot be applied by 'patch' command because 'git diff' outputs no CR+LF.
> Probably almost all the developers use 'git diff' or 'git format-patch' to create a patch as the SCM has moved to Git. Therefore Jenkins should use 'git apply' to apply patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)