{"action":"created","issue":{"url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/8","labels_url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/8/comments","events_url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/8/events","html_url":"https://github.com/ekho/capistrano-git-submodule-strategy/issues/8","id":89028678,"number":8,"title":"Duplicated commands caused by requiring 'capistrano/git'","user":{"login":"favalex","id":77344,"avatar_url":"https://avatars.githubusercontent.com/u/77344?v=3","gravatar_id":"","url":"https://api.github.com/users/favalex","html_url":"https://github.com/favalex","followers_url":"https://api.github.com/users/favalex/followers","following_url":"https://api.github.com/users/favalex/following{/other_user}","gists_url":"https://api.github.com/users/favalex/gists{/gist_id}","starred_url":"https://api.github.com/users/favalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/favalex/subscriptions","organizations_url":"https://api.github.com/users/favalex/orgs","repos_url":"https://api.github.com/users/favalex/repos","events_url":"https://api.github.com/users/favalex/events{/privacy}","received_events_url":"https://api.github.com/users/favalex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T14:10:46Z","updated_at":"2015-06-17T20:12:29Z","closed_at":null,"body":"Hi Boris,\r\n\r\nthanks for your work.\r\n\r\nI'm using capistrano 3.4.0 and I've noticed that when using capistrano-git-submodule-strategy git commands are issued twice.\r\n\r\nI think the problem is in capistrano itself, because it loads capistrano/git.rb instead of requiring it [1]. Every time git.rb is executed tasks are appended to the existing ones, hence the duplication.\r\n\r\n I plan to open an issue in capistrano too, but I was wondering:\r\n\r\n1) do you have the same problem?\r\n2) if yes, do you have a workaround?\r\n\r\nThanks\r\n\r\nGabriele\r\n\r\n[1] https://github.com/capistrano/capistrano/blob/master/lib/capistrano/setup.rb#L16"},"comment":{"url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/comments/112933226","html_url":"https://github.com/ekho/capistrano-git-submodule-strategy/issues/8#issuecomment-112933226","issue_url":"https://api.github.com/repos/ekho/capistrano-git-submodule-strategy/issues/8","id":112933226,"user":{"login":"ekho","id":374426,"avatar_url":"https://avatars.githubusercontent.com/u/374426?v=3","gravatar_id":"","url":"https://api.github.com/users/ekho","html_url":"https://github.com/ekho","followers_url":"https://api.github.com/users/ekho/followers","following_url":"https://api.github.com/users/ekho/following{/other_user}","gists_url":"https://api.github.com/users/ekho/gists{/gist_id}","starred_url":"https://api.github.com/users/ekho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekho/subscriptions","organizations_url":"https://api.github.com/users/ekho/orgs","repos_url":"https://api.github.com/users/ekho/repos","events_url":"https://api.github.com/users/ekho/events{/privacy}","received_events_url":"https://api.github.com/users/ekho/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T20:12:29Z","updated_at":"2015-06-17T20:12:29Z","body":"Hi @favalex \r\n\r\nI don't have this problem. But some people has. I think #3 is a same problem. I closed it because I can't fix it in my plugin"}}