T07:26:18.210Z - info: Executing pull: git -c credential.helper= pull -no-rebase -progress origin (took 1.335s) T07:19:06.370Z - info: Executing fetch: git -c credential.helper= fetch -progress -prune origin (took 3.129s) T07:18:44.226Z - info: Executing getRecentBranches: git log -g -no-abbrev-commit -pretty=oneline HEAD -n 2500 - (took 3.752s) T07:18:44.220Z - info: Executing getStatus: git status -untracked-files=all -branch -porcelain=2 -z (took 3.920s) This is very odd behaivior from such a great software and is ruining any Unix scripts. Reproduces how often: 1000% post scriptum Get 'Commit failed - exit code 1 received' errorĮxpected behavior: I, as every crossplatform developer, expect that I could be able to commit changes of line endings on and for any OS platform.Īctual behavior: 'Commit failed - exit code 1 received' error.Change in file said end-of-lines to Unix-like (LF), try to commit.Commit file with Windows-like end-of-lines (CRLF).
OS version: Windows 10 Steps to Reproduce If I try to commit such change then 'Commit failed - exit code 1 received' error occures.Īlso if any changed file contains any other changes and end-of-lines changes then all changes are saved except end-of-lines.
It is showing that there are changed files but no info about it in details section on the right. Under the Windows OS GH Desktop is not showing diffs in files where only end-of-lines changed from Win '\n\r' format (CRLF) to Unix '\n' format (LF).