Re: [PATCH v2 2/7] git-new-workdir: mark script as LF-only

2017-05-07 Thread Junio C Hamano
Johannes Schindelin writes: > Bash does not handle scripts with CR/LF line endings correctly, therefore > they *have* to be forced to LF-only line endings. > > Funnily enough, this fixes t3000-ls-files-others and > t1021-rerere-in-workdir when git.git was checked out with > core.autocrlf=true, as

[PATCH v2 2/7] git-new-workdir: mark script as LF-only

2017-05-04 Thread Johannes Schindelin
Bash does not handle scripts with CR/LF line endings correctly, therefore they *have* to be forced to LF-only line endings. Funnily enough, this fixes t3000-ls-files-others and t1021-rerere-in-workdir when git.git was checked out with core.autocrlf=true, as these test still use git-new-workdir (on