Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.6.0
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
HADOOP-10926 Improve smart-apply-patch.sh to apply binary diffs
- Resolved