Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
If the patch edits a file includes CR+LF and created by "git diff --no-prefix", smart-apply-patch.sh fails to patch. smart-apply-patch.sh checks if the patch is created by "git diff" or "patch", however, if a patch is created by "git diff --no-prefix", smart-apply-patch.sh detects the patch is created by "patch" command. That's why https://builds.apache.org/job/PreCommit-HADOOP-Build/6800/console fails.
A workaround is to use "git diff" for creating patch if a file includes CR+LF is edited.
Attachments
Attachments
Issue Links
- is blocked by
-
HADOOP-11991 test-patch.sh isn't re-executed even if smart-apply-patch.sh is modified
-
- Resolved
-