{"thread":{"id":"25445","subject":"Removing dos end of line","startedAt":"2010-10-14T10:51:10Z","lastAt":"2010-10-14T10:51:10Z","messageCount":1,"participants":["Mathieu Malaterre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"153511","messageId":"AANLkTimCXs_eORsZKPx69sLk4jgHMY419qOH1DEMPQRF@mail.gmail.com","threadId":"25445","inReplyTo":null,"subject":"Removing dos end of line","fromName":"Mathieu Malaterre","fromEmail":"mathieu.malaterre@gmail.com","sentAt":"2010-10-14T10:51:10Z","receivedAt":"2010-10-14T10:51:10Z","isPatch":false,"sender":{"key":"mathieu.malaterre@gmail.com","avatar":"https://gravatar.com/avatar/0728db14da3b5f9cb00476f504394196a14dac116214d8114f402fad0871bb86?d=mp&s=160"},"body":"Hi,\n\n  I am trying to rewrite a git history and remove dos end of line. I used:\n\ngit filter-branch --tree-filter dos2unix -- --all\n\nHowever it still report:\n\nerror: You have local changes to 'bla.c'; cannot switch branches.\n\nHere is my setting:\n\n$ cat ~/.gitconfig\n...\n[core]\n\tautocrlf = input\n\n\nShould I be doing something else to remove dos file from history ?\n\nThanks,\n-- \nMathieu\n"}]}