{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/2197","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/2197/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/2197/comments","events_url":"https://api.github.com/repos/apple/swift/issues/2197/events","html_url":"https://github.com/apple/swift/pull/2197","id":148712059,"number":2197,"title":"[SR-146] swift-format tool","user":{"login":"johnno1962","id":1786033,"avatar_url":"https://avatars.githubusercontent.com/u/1786033?v=3","gravatar_id":"","url":"https://api.github.com/users/johnno1962","html_url":"https://github.com/johnno1962","followers_url":"https://api.github.com/users/johnno1962/followers","following_url":"https://api.github.com/users/johnno1962/following{/other_user}","gists_url":"https://api.github.com/users/johnno1962/gists{/gist_id}","starred_url":"https://api.github.com/users/johnno1962/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnno1962/subscriptions","organizations_url":"https://api.github.com/users/johnno1962/orgs","repos_url":"https://api.github.com/users/johnno1962/repos","events_url":"https://api.github.com/users/johnno1962/events{/privacy}","received_events_url":"https://api.github.com/users/johnno1962/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-15T16:50:23Z","updated_at":"2016-04-18T23:56:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/2197","html_url":"https://github.com/apple/swift/pull/2197","diff_url":"https://github.com/apple/swift/pull/2197.diff","patch_url":"https://github.com/apple/swift/pull/2197.patch"},"body":"#### What's in this pull request?\r\nAn implementation of a swift-format tool to indent swift source code from the command line using the new libIDE api. Options based on \"clang-format”. Performance is O(size of file * number of lines changed)\r\n\r\n#### Resolved bug number:\r\nhttps://bugs.swift.org/browse/SR-146"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/211637891","html_url":"https://github.com/apple/swift/pull/2197#issuecomment-211637891","issue_url":"https://api.github.com/repos/apple/swift/issues/2197","id":211637891,"user":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars.githubusercontent.com/u/335572?v=3","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T23:56:21Z","updated_at":"2016-04-18T23:56:21Z","body":"Obviously my comments will not ensure it gets merged or not. I am by no means going to be able to accept or reject this commit. All I am pointing out is a typical thing I've seen commented on other reviews that have held up reviewing and merging. I am trying to help because I think this is a value add tool to the standard toolset.\r\n\r\nAs for getting eyes on the changes. Perhaps a message to the mailing list? (Maybe you have, I don't mean to imply you have not)\r\n\r\nRegarding the failed attempt at squishing. I might suggest reading [Changing Multiple Commit Messages](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) from the Git Book. Something like `git rebase -i origin/master` might just do the trick."}}