{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1372","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1372/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1372/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1372/events","html_url":"https://github.com/dart-lang/pub/issues/1372","id":123737984,"number":1372,"title":"\"pub get\" failing for git repositories when run from Windows with git version 2.5.3.windows.1","user":{"login":"sgerhardt","id":4251684,"avatar_url":"https://avatars.githubusercontent.com/u/4251684?v=3","gravatar_id":"","url":"https://api.github.com/users/sgerhardt","html_url":"https://github.com/sgerhardt","followers_url":"https://api.github.com/users/sgerhardt/followers","following_url":"https://api.github.com/users/sgerhardt/following{/other_user}","gists_url":"https://api.github.com/users/sgerhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/sgerhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgerhardt/subscriptions","organizations_url":"https://api.github.com/users/sgerhardt/orgs","repos_url":"https://api.github.com/users/sgerhardt/repos","events_url":"https://api.github.com/users/sgerhardt/events{/privacy}","received_events_url":"https://api.github.com/users/sgerhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-23T23:53:49Z","updated_at":"2016-01-04T21:01:21Z","closed_at":null,"body":"Setup:\r\nOS: Windows 8 64 bit\r\nGit: git version 2.5.3.windows.1\r\nDart SDK: 1.13\r\nIDE: WebStorm 11.0.2\r\n\r\nIssue:\r\n\"pub get\" failing for git repositories when run from Windows with git version 2.5.3.windows.1. This happens when \".git\" is not added to the line specifying the git repository location.\r\n\r\nExpected Operation:\r\nI believe the expected behavior is for it to work with or without the \".git\" at the end of the line specifying the repository.\r\n\r\nWhen I try to do a \"pub get\" on the following .yaml for example:\r\n\r\n    name: unittest_v1\r\n    description: A sample command-line application\r\n    dependencies:\r\n      dartlero:\r\n        git: https://github.com/dzenanr/dartlero\r\n      test: any\r\n\r\nI get the following output error, `C:\\tools\\dart-sdk\\bin\\pub.bat get\r\nResolving dependencies...\r\nGit error. Command: git fetch\r\nfatal: Not a git repository (or any of the parent directories): .git\r\nProcess finished with exit code 1`\r\n\r\nIt appears that simply making the git line, \"`git: https://github.com/dzenanr/dartlero.git` (adding .git to the end)\" fixes the issue. I've run the same command on OS X on yaml without the \".git\" with success using a different version of git. \r\n![image](https://cloud.githubusercontent.com/assets/4251684/11987055/02ebeeee-a99e-11e5-8d54-f403856ae89d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/168807490","html_url":"https://github.com/dart-lang/pub/issues/1372#issuecomment-168807490","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1372","id":168807490,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T21:01:21Z","updated_at":"2016-01-04T21:01:21Z","body":"@sgerhardt Please include the full output of `pub get --verbose`. Also, what happens when you run `git clone https://github.com/dzenanr/dartlero` manually from the command line?"}}