nickva opened a new pull request, #5997:
URL: https://github.com/apache/couchdb/pull/5997

   (Cherry-pick from main for 3.5.x git cherry-pick 
0a50108d322452ba748c307397a30cd2779cae97)
   
   This should fix `gradlew.bat` being show as `modified` even after a fresh 
git clone:
   
   ```
   modified:   extra/nouveau/gradlew.bat
   ```
   
   That makes the dist tarball as "dirty" so it breaks our releases.
   
   This seems to happen because `extra/nouveau/gradlew.bat` was stored with 
cr/lf endings in git, but then we also modified `.gitattributes` to have `text 
eol=crlf`, which indicates we want to store the file with `lf` and only apply 
`cr/lf` after the checkout on Windows. So managed to thoroughly confuse git 
with that we wanted to do.
   
   It turns out we can fix this with `git add --renormalize .` so that's what 
this commit does [1].
   
   [1] 
https://stackoverflow.com/questions/7156694/git-how-to-renormalize-line-endings-in-all-files-in-all-revisions
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to