{"action":"opened","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/954","repository_url":"https://api.github.com/repos/git-for-windows/git","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/954/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/954/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/954/events","html_url":"https://github.com/git-for-windows/git/issues/954","id":188970146,"number":954,"title":"Can't normalize line endings anymore","user":{"login":"kria","id":144572,"avatar_url":"https://avatars.githubusercontent.com/u/144572?v=3","gravatar_id":"","url":"https://api.github.com/users/kria","html_url":"https://github.com/kria","followers_url":"https://api.github.com/users/kria/followers","following_url":"https://api.github.com/users/kria/following{/other_user}","gists_url":"https://api.github.com/users/kria/gists{/gist_id}","starred_url":"https://api.github.com/users/kria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kria/subscriptions","organizations_url":"https://api.github.com/users/kria/orgs","repos_url":"https://api.github.com/users/kria/repos","events_url":"https://api.github.com/users/kria/events{/privacy}","received_events_url":"https://api.github.com/users/kria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-13T13:25:44Z","updated_at":"2016-11-13T13:25:44Z","closed_at":null,"body":" - [x] I was not able to find an [open](https://github.com/git-for-windows/git/issues?q=is%3Aopen) or [closed](https://github.com/git-for-windows/git/issues?q=is%3Aclosed) issue matching what I'm seeing\r\n\r\n### Setup\r\n\r\n - Which version of Git for Windows are you using? Is it 32-bit or 64-bit?\r\n\r\n```\r\n$ git --version --build-options\r\ngit version 2.10.2.windows.1\r\nsizeof-long: 4\r\nmachine: x86_64\r\n```\r\n\r\n - Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?\r\n\r\n```\r\n$ cmd.exe /c ver\r\nMicrosoft Windows [Version 10.0.14393]\r\n```\r\n\r\n - What options did you set as part of the installation? Or did you choose the\r\n   defaults?\r\n\r\n```\r\n# One of the following:\r\n> type \"C:\\Program Files\\Git\\etc\\install-options.txt\"\r\n> type \"C:\\Program Files (x86)\\Git\\etc\\install-options.txt\"\r\n> type \"%USERPROFILE%\\AppData\\Local\\Programs\\Git\\etc\\install-options.txt\"\r\n$ cat /etc/install-options.txt\r\nPath Option: Cmd\r\nSSH Option: OpenSSH\r\nCRLF Option: CRLFCommitAsIs\r\nBash Terminal Option: MinTTY\r\nPerformance Tweaks FSCache: Enabled\r\nEnable Symlinks: Disabled\r\n```\r\n\r\n - Any other interesting things about your environment that might be related\r\n   to the issue you're seeing?\r\n\r\n### Details\r\n\r\n - Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other\r\n\r\nBash\r\n\r\n - What commands did you run to trigger this issue? If you can provide a\r\n   [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve)\r\n   this will help us understand the issue.\r\n\r\n```\r\ngit init\r\ngit config core.autocrlf false\r\necho -en \"line1\\r\\nline2\\r\\nline3\\r\\n\" > a.txt\r\ngit add a.txt\r\ngit commit -m 'add file'\r\necho \"* text=auto\" > .gitattributes\r\nrm .git/index\r\ngit reset\r\ngit status\r\n# nothing to commit\r\n```\r\n - What did you expect to occur after running these commands?\r\n\r\n I expected a.txt to show up as modified because of newline normalization.\r\n\r\n - What actually happened instead?\r\n\r\nIt didn't.\r\n\r\nIf I do the exact same sequence on 2.9.3, I get the expected result.\r\nIf I set .gitattributes to `a.txt text` instead of `* text=auto` on 2.10.2, I also get the expected result.\r\n"}}
{"actor":{"display_login":"kria"}}