{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3070","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3070/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3070/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3070/events","html_url":"https://github.com/libgit2/libgit2/pull/3070","id":70254206,"number":3070,"title":"Case insensitive checkout improvements","user":{"login":"ethomson","id":1130014,"avatar_url":"https://avatars.githubusercontent.com/u/1130014?v=3","gravatar_id":"","url":"https://api.github.com/users/ethomson","html_url":"https://github.com/ethomson","followers_url":"https://api.github.com/users/ethomson/followers","following_url":"https://api.github.com/users/ethomson/following{/other_user}","gists_url":"https://api.github.com/users/ethomson/gists{/gist_id}","starred_url":"https://api.github.com/users/ethomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethomson/subscriptions","organizations_url":"https://api.github.com/users/ethomson/orgs","repos_url":"https://api.github.com/users/ethomson/repos","events_url":"https://api.github.com/users/ethomson/events{/privacy}","received_events_url":"https://api.github.com/users/ethomson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T22:45:21Z","updated_at":"2015-05-04T08:59:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/3070","html_url":"https://github.com/libgit2/libgit2/pull/3070","diff_url":"https://github.com/libgit2/libgit2/pull/3070.diff","patch_url":"https://github.com/libgit2/libgit2/pull/3070.patch"},"body":"On Windows, you might sloppily rewrite a file (or have a sloppy text editor that does it for you) and accidentally change its case.  (eg, \"README\" -> \"readme\").  Git ignores this accidental case changing rename during checkout and will happily write the new content to the file despite the name change.  We should, too.\r\n\r\nFurther, ensure that on a case insensitive filesystem that we can checkout into some folder 'FOLDER' that exists on disk, even if the target of the checkout is a different case (eg 'folder').\r\n\r\nRevert prior change to checkout with the case sensitive iterator.  Now, when checking out with a case-insensitive working directory, we want to change the case of items in the working directory to reflect changes that occured in the checkout target.  Diff now has an option to break case-changing renames into delete/add to enable this."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/98641629","html_url":"https://github.com/libgit2/libgit2/pull/3070#issuecomment-98641629","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3070","id":98641629,"user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T08:59:44Z","updated_at":"2015-05-04T08:59:44Z","body":"What's the advantage to changing the `test_realpath()` implementation? AFAICT this is not what we do on Mac or anywhere else for `p_realpath()`. It would be great for that commit to explain what's wrong with the way we do it now."}}