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

2015-10-28 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 v4 0/2] Fix interactive rebase when the editor saves with CR/LF

2015-10-28 Thread Junio C Hamano
Johannes Schindelin writes: > Turns out that we now check whether a single Carriage Return is a valid > command. This new check was introduced recently (1db168ee9, ironically > named "rebase-i: loosen over-eager check_bad_cmd check"). Will queue. The root cause is