[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[jgit-dev] Gerrit push fails with "found carriage return (CR) character in file"
- From: Marc Strapetz <marc.strapetz@xxxxxxxxxxx>
- Date: Fri, 18 Oct 2019 00:11:55 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
I'm trying to push following commit to refs/draft/master:
This commit contains a binary file "dircache.fileWithSameNameAsSubtree"
and I have also added .gitattributes with:
But Gerrit still rejects this commit. How can I get this Changes still
Delta compression using up to 8 threads
Total 49 (delta 23), reused 1 (delta 0)
remote: Processing changes: (\)
remote: Processing changes: refs: 1 (\)
remote: Processing changes: refs: 1, done
remote: Reviewing commit: ce6b0099
remote: Authored by: Marc Strapetz <marc.strapetz@xxxxxxxxxxx>
remote: The author is not a committer on the project.
remote: The author has a current Eclipse Contributor Agreement (ECA) on
remote: The author has "signed-off" on the contribution.
remote: This commit passes Eclipse validation.
remote: error: found carriage return (CR) character in file:
failed to push some refs to 'https://git.eclipse.org/r/jgit/jgit.git'
! refs/heads/master:refs/drafts/master [remote rejected] (contains files
with a Windows line ending)
'master' rejected (non-fast-forward)