Hey guys,
your project has some files with wrong line endings.
According to the Drupal coding standards all projects must have LF (Linux) line endings not CRLF (Windows) ones.
I guess, and I really ONLY guess, that it could also be the reason why the automatic testing fails sometimes.
It led to an invalid patch created by `git format-patch` at least with me.
Check this article to find out how to properly set up your git to help you out with line endings: https://help.github.com/articles/dealing-with-line-endings/
I will add a patch that ONLY replaces line endings. Nothing else. You can confirm that by doing a diff ignoring line endings (--ignore-space-at-eol).
Have fun and merge fast, please.
func0der
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | field_group-proper_line_endings-2512618-1.patch | 111.58 KB | func0der |
Comments
Comment #1
func0der commentedComment #2
func0der commentedComment #3
tien.xuan.vo commentedI got problems with this too. Here is the patch for 7.x-1.4. I just use dos2unix to convert all files in the project.
Comment #5
tien.xuan.vo commentedDo not test 7.x-1.4 patch.
Comment #6
func0der commentedHey @tien.xuan.vo
patches are created for the current development branches of the modules, because they could contain already made changes since the last release.
My patch is so to say for the same version as yours ;)
Comment #7
donquixote commentedYes please!
Note: It is nice to see people posting patches here.
Personally, I think the maintainer should simply fire up an IDE or some other tool to fix the line endings for the files that have this problem, commit, and be done with it.
Comment #9
nils.destoop commentedThe patch did not apply anymore as the main module file was already in LF. The remaining files are now also in LF.