{"issue":{"created_at":"2011-09-07T02:09:40Z","state":"open","updated_at":"2011-11-26T09:27:26Z","user":{"gravatar_id":"6d8ca4feec71d59cc926a9bfb8fd3869","id":9763,"url":"https://api.github.com/users/puls","login":"puls","avatar_url":"https://secure.gravatar.com/avatar/6d8ca4feec71d59cc926a9bfb8fd3869?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"If I include this line in my `.bash_profile`:\r\n\r\n    export EDITOR=\"choc -w\"\r\n\r\nand run `git commit`, I can write a commit message, save, and close the window. But the command never completes in the terminal.","assignee":null,"id":1586002,"number":455,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Using `choc -w` as my $EDITOR never finishes when writing git commit messages","closed_at":null,"html_url":"https://github.com/fileability/chocolat-public/issues/455","milestone":{"created_at":"2011-08-16T22:10:55Z","state":"open","closed_issues":18,"due_on":null,"creator":{"gravatar_id":"5eaf93d84eeab7a9bbd75688c17757ce","id":32292,"url":"https://api.github.com/users/fileability","login":"fileability","avatar_url":"https://secure.gravatar.com/avatar/5eaf93d84eeab7a9bbd75688c17757ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":10,"description":"**Bugs** that have been accepted as valid and reproducible, but are waiting to find a slot to be fixed.","title":"Accepted","open_issues":61,"url":"https://api.github.com/repos/fileability/chocolat-public/milestones/10"},"url":"https://api.github.com/repos/fileability/chocolat-public/issues/455"},"action":"created","comment":{"created_at":"2011-11-26T09:27:26Z","updated_at":"2011-11-26T09:27:26Z","user":{"gravatar_id":"8e3cc061dec070b2f4d1c78c13ade6ec","id":2772,"url":"https://api.github.com/users/mayo","login":"mayo","avatar_url":"https://secure.gravatar.com/avatar/8e3cc061dec070b2f4d1c78c13ade6ec?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"This is a generic issue and not git/vcs specific.\r\n\r\nWhen using Chocolat from command line as visual editor with -w flag, choc never returns\r\n\r\nTo reproduce:\r\n1) choc -w testfile\r\n2) Chocolat openes up a new window with the supplied file (there is a quirk here, described below, but generally this works)\r\n3) After editing, save and close the window\r\n\r\nExpected result is choc returning, but it does not. It needs to be stopped manually by sending it a signal (ie. ctrl+c or kill)\r\n\r\nThe quirk described in step 2) is that when I already have Chocolat windows opened, the new window that's being opened is opened in the background, under all existing Cocolat windows. This makes it difficult to use because the user ends up hunting around all open windows to find the newly opened one.\r\n","id":2880733,"url":"https://api.github.com/repos/fileability/chocolat-public/issues/comments/2880733"}}