I ended up doing the following:
- cloned the repo,
- executed
find . -type f -exec dos2unix {} \;
, - executed
git add .
, - copied the files from my coworker over the checkout repo (overwriting anything),
- executed
find . -type f -exec dos2unix {} \;
again, - executed
git add -v -n . > /tmp/changed_files
.
That way I ended up with a list of files that really had relevant changes so I could commit only those (quick&dirty solution without re-normalizing the whole repo).