{"action":"created","issue":{"url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/442","repository_url":"https://api.github.com/repos/gitpython-developers/GitPython","labels_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/442/comments","events_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/442/events","html_url":"https://github.com/gitpython-developers/GitPython/issues/442","id":156691945,"number":442,"title":"repo.remote().fetch(\"--dry-run\") can produce assertion failure","user":{"login":"josefsachsconning","id":9481784,"avatar_url":"https://avatars.githubusercontent.com/u/9481784?v=3","gravatar_id":"","url":"https://api.github.com/users/josefsachsconning","html_url":"https://github.com/josefsachsconning","followers_url":"https://api.github.com/users/josefsachsconning/followers","following_url":"https://api.github.com/users/josefsachsconning/following{/other_user}","gists_url":"https://api.github.com/users/josefsachsconning/gists{/gist_id}","starred_url":"https://api.github.com/users/josefsachsconning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josefsachsconning/subscriptions","organizations_url":"https://api.github.com/users/josefsachsconning/orgs","repos_url":"https://api.github.com/users/josefsachsconning/repos","events_url":"https://api.github.com/users/josefsachsconning/events{/privacy}","received_events_url":"https://api.github.com/users/josefsachsconning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitpython-developers/GitPython/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"ff8c00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-25T08:31:19Z","updated_at":"2016-05-25T12:23:07Z","closed_at":null,"body":"```\r\n>>> import git\r\n>>> repo = git.Repo(\"C:/Users/s2sajs/Documents/GitHub/Reactive.jl\")\r\n>>> fr = repo.remote().fetch(\"--dry-run\")\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"C:\\Python27\\lib\\site-packages\\git\\remote.py\", line 657, in fetch\r\n    res = self._get_fetch_info_from_stderr(proc, progress or RemoteProgress())\r\n  File \"C:\\Python27\\lib\\site-packages\\git\\remote.py\", line 576, in _get_fetch_info_from_stderr\r\n    assert l_fil >= l_fhi, \"len(%s) <= len(%s)\" % (l_fil, l_fhi)\r\nAssertionError: len(5) <= len(6)\r\n```"},"comment":{"url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/comments/221557933","html_url":"https://github.com/gitpython-developers/GitPython/issues/442#issuecomment-221557933","issue_url":"https://api.github.com/repos/gitpython-developers/GitPython/issues/442","id":221557933,"user":{"login":"Byron","id":63622,"avatar_url":"https://avatars.githubusercontent.com/u/63622?v=3","gravatar_id":"","url":"https://api.github.com/users/Byron","html_url":"https://github.com/Byron","followers_url":"https://api.github.com/users/Byron/followers","following_url":"https://api.github.com/users/Byron/following{/other_user}","gists_url":"https://api.github.com/users/Byron/gists{/gist_id}","starred_url":"https://api.github.com/users/Byron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Byron/subscriptions","organizations_url":"https://api.github.com/users/Byron/orgs","repos_url":"https://api.github.com/users/Byron/repos","events_url":"https://api.github.com/users/Byron/events{/privacy}","received_events_url":"https://api.github.com/users/Byron/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T12:23:07Z","updated_at":"2016-05-25T12:23:07Z","body":"I was unable to reproduce it. Here is what I tried:\r\n\r\n```python\r\nimport git\r\nr = git.Repo.clone_from('https://github.com/JuliaLang/Reactive.jl', 'here')\r\nr.remote().fetch()\r\nr.remote().fetch('--dry-run')\r\n```\r\n\r\nDoes this work for you ? Maybe there is more to it, like the git version installed on the system.\r\n```bash\r\n$ git --version\r\ngit version 2.7.4 (Apple Git-66)\r\n```"}}
{"actor":{"display_login":"Byron"}}