Re: [PATCH v2 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-27 Thread Johannes Schindelin
Hi Junio, On Mon, 26 Oct 2015, Junio C Hamano wrote: > Johannes Schindelin writes: > > > A simple test with CR/LF line endings in a script reveals that it is > > pretty solid: > > > > x=a > > case "$x" in a) echo b;; esac > > > > prints out 'b', as expected.

Re: [PATCH v2 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-26 Thread Johannes Schindelin
Hi Junio, On Sun, 25 Oct 2015, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Chad Boles reported that `git rebase -i` recently started producing > > errors when the editor saves files with DOS line endings. The symptom > > is: > > > > Warning: the

Re: [PATCH v2 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-26 Thread Junio C Hamano
Johannes Schindelin writes: > A simple test with CR/LF line endings in a script reveals that it is > pretty solid: > > x=a > case "$x" in a) echo b;; esac > > prints out 'b', as expected. I do not see what this has to do with anything. The shell language

[PATCH v2 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-25 Thread Johannes Schindelin
Chad Boles reported that `git rebase -i` recently started producing errors when the editor saves files with DOS line endings. The symptom is: Warning: the command isn't recognized in the following line: - You can fix this with 'git rebase --edit-todo'. Or you can

Re: [PATCH v2 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-25 Thread Junio C Hamano
Johannes Schindelin writes: > Chad Boles reported that `git rebase -i` recently started producing > errors when the editor saves files with DOS line endings. The symptom > is: > > Warning: the command isn't recognized in the following line: >- > >