{"action":"created","issue":{"url":"https://api.github.com/repos/git-lfs/git-lfs/issues/2655","repository_url":"https://api.github.com/repos/git-lfs/git-lfs","labels_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/2655/labels{/name}","comments_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/2655/comments","events_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/2655/events","html_url":"https://github.com/git-lfs/git-lfs/issues/2655","id":263680920,"number":2655,"title":"migrate fails with \"argument list too long\"","user":{"login":"phord","id":123908,"avatar_url":"https://avatars2.githubusercontent.com/u/123908?v=4","gravatar_id":"","url":"https://api.github.com/users/phord","html_url":"https://github.com/phord","followers_url":"https://api.github.com/users/phord/followers","following_url":"https://api.github.com/users/phord/following{/other_user}","gists_url":"https://api.github.com/users/phord/gists{/gist_id}","starred_url":"https://api.github.com/users/phord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phord/subscriptions","organizations_url":"https://api.github.com/users/phord/orgs","repos_url":"https://api.github.com/users/phord/repos","events_url":"https://api.github.com/users/phord/events{/privacy}","received_events_url":"https://api.github.com/users/phord/received_events","type":"User","site_admin":false},"labels":[{"id":57558056,"url":"https://api.github.com/repos/git-lfs/git-lfs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-07T23:55:53Z","updated_at":"2017-10-09T15:13:55Z","closed_at":null,"author_association":"NONE","body":"I have a large repo with 45000 refs.  When I first tried to run `git lfs migrate info` on it, it failed with this error:\r\n    $ git lfs migrate info\r\n    migrate: Fetching remote refs: ..., done\r\n    fork/exec /usr/libexec/git-core/git: argument list too long\r\n\r\nThis is on Ubuntu 17.10 with zsh.\r\n\r\nIf I include the --everything switch, the command succeeds:\r\n    $ git lfs migrate info --everything\r\n    migrate: Fetching remote refs: ..., done\r\n    migrate: Examining commits:  26% (101830/379598)                                \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/git-lfs/git-lfs/issues/comments/335188460","html_url":"https://github.com/git-lfs/git-lfs/issues/2655#issuecomment-335188460","issue_url":"https://api.github.com/repos/git-lfs/git-lfs/issues/2655","id":335188460,"user":{"login":"technoweenie","id":21,"avatar_url":"https://avatars3.githubusercontent.com/u/21?v=4","gravatar_id":"","url":"https://api.github.com/users/technoweenie","html_url":"https://github.com/technoweenie","followers_url":"https://api.github.com/users/technoweenie/followers","following_url":"https://api.github.com/users/technoweenie/following{/other_user}","gists_url":"https://api.github.com/users/technoweenie/gists{/gist_id}","starred_url":"https://api.github.com/users/technoweenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technoweenie/subscriptions","organizations_url":"https://api.github.com/users/technoweenie/orgs","repos_url":"https://api.github.com/users/technoweenie/repos","events_url":"https://api.github.com/users/technoweenie/events{/privacy}","received_events_url":"https://api.github.com/users/technoweenie/received_events","type":"User","site_admin":true},"created_at":"2017-10-09T15:13:55Z","updated_at":"2017-10-09T15:13:55Z","author_association":"OWNER","body":"The `info` and `import` subcomands process any unpushed commits when run without any args. That's why the ref prefixes are used. You can run them with `--everything`, or a combination of `--include-ref` and `--exclude-ref` to process or convert only local refs.\r\n\r\nThat explains why the commands are different. But how can we support an unbound number of refs?"}}
{"actor":{"display_login":"technoweenie"}}