{"action":"opened","issue":{"url":"https://api.github.com/repos/kejadlen/git-together/issues/36","repository_url":"https://api.github.com/repos/kejadlen/git-together","labels_url":"https://api.github.com/repos/kejadlen/git-together/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/kejadlen/git-together/issues/36/comments","events_url":"https://api.github.com/repos/kejadlen/git-together/issues/36/events","html_url":"https://github.com/kejadlen/git-together/issues/36","id":358810466,"node_id":"MDU6SXNzdWUzNTg4MTA0NjY=","number":36,"title":"Make git command a config option","user":{"login":"sentientmonkey","id":9032,"node_id":"MDQ6VXNlcjkwMzI=","avatar_url":"https://avatars0.githubusercontent.com/u/9032?v=4","gravatar_id":"","url":"https://api.github.com/users/sentientmonkey","html_url":"https://github.com/sentientmonkey","followers_url":"https://api.github.com/users/sentientmonkey/followers","following_url":"https://api.github.com/users/sentientmonkey/following{/other_user}","gists_url":"https://api.github.com/users/sentientmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/sentientmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sentientmonkey/subscriptions","organizations_url":"https://api.github.com/users/sentientmonkey/orgs","repos_url":"https://api.github.com/users/sentientmonkey/repos","events_url":"https://api.github.com/users/sentientmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/sentientmonkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T21:59:34Z","updated_at":"2018-09-10T21:59:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I've been trying to get magit (for emacs) and fugitive (for vim) to work well with git-together. One of the problems for both is that if they are launched and don't rely on aliases, then even if you change the \"git binary\" for those apps, it can't find the original git binary when using pass through commands. git-together assumes that git is in the current $PATH, so that breaks down when plugins are not using the default user's shell to exec commands. See #31 and #22 for examples.\r\n\r\nOne approach to fixing that could be to make the git binary configurable from here:\r\nhttps://github.com/kejadlen/git-together/blob/90e01b568c2fb926f349500047f74642f18ba8b1/src/lib.rs#L82\r\n\r\nIf this is set in the git-together config, this also could allow forwarding to other git proxy commands (like hub). I don't know when I'll have time to work on this, but opening the issue up for discussion."}}
{"actor":{"display_login":"sentientmonkey"}}