{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/796","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/796/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/796/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/796/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/796","id":130261484,"number":796,"title":"Save *.bk files in a separate directory such as project/backup","user":{"login":"nielsle","id":292118,"avatar_url":"https://avatars.githubusercontent.com/u/292118?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsle","html_url":"https://github.com/nielsle","followers_url":"https://api.github.com/users/nielsle/followers","following_url":"https://api.github.com/users/nielsle/following{/other_user}","gists_url":"https://api.github.com/users/nielsle/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsle/subscriptions","organizations_url":"https://api.github.com/users/nielsle/orgs","repos_url":"https://api.github.com/users/nielsle/repos","events_url":"https://api.github.com/users/nielsle/events{/privacy}","received_events_url":"https://api.github.com/users/nielsle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-01T05:36:27Z","updated_at":"2016-02-02T04:56:24Z","closed_at":null,"body":"It would be nice to have the option to save the *.bk files in a separate directory too keep them out of the way. I could imagine a directory structure such as\r\n\r\n~~~\r\nproject/src       (contains source files)\r\nproject/target    (contains build target)\r\nproject/backup    (contains rustfmt backup files)\r\n~~~\r\n\r\nEDIT: Perhaps this option should remove the filename extension, `bk`, to allow recursive xdiff\r\n~~~\r\nxdiff project/src project/backup\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/comments/178375170","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/796#issuecomment-178375170","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/796","id":178375170,"user":{"login":"kamalmarhubi","id":50936,"avatar_url":"https://avatars.githubusercontent.com/u/50936?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmarhubi","html_url":"https://github.com/kamalmarhubi","followers_url":"https://api.github.com/users/kamalmarhubi/followers","following_url":"https://api.github.com/users/kamalmarhubi/following{/other_user}","gists_url":"https://api.github.com/users/kamalmarhubi/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmarhubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmarhubi/subscriptions","organizations_url":"https://api.github.com/users/kamalmarhubi/orgs","repos_url":"https://api.github.com/users/kamalmarhubi/repos","events_url":"https://api.github.com/users/kamalmarhubi/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmarhubi/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T04:56:24Z","updated_at":"2016-02-02T04:56:24Z","body":"But regarding the feature, I would like it. Or another alternative: save backups as dotfiles so that they at least don't show up in `ls`."}}