{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/ocaml-git/issues/105","labels_url":"https://api.github.com/repos/mirage/ocaml-git/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/mirage/ocaml-git/issues/105/comments","events_url":"https://api.github.com/repos/mirage/ocaml-git/issues/105/events","html_url":"https://github.com/mirage/ocaml-git/issues/105","id":95734093,"number":105,"title":"running 'git reset master --hard' after 'ogit clone' fails","user":{"login":"gregtatcam","id":3341098,"avatar_url":"https://avatars.githubusercontent.com/u/3341098?v=3","gravatar_id":"","url":"https://api.github.com/users/gregtatcam","html_url":"https://github.com/gregtatcam","followers_url":"https://api.github.com/users/gregtatcam/followers","following_url":"https://api.github.com/users/gregtatcam/following{/other_user}","gists_url":"https://api.github.com/users/gregtatcam/gists{/gist_id}","starred_url":"https://api.github.com/users/gregtatcam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregtatcam/subscriptions","organizations_url":"https://api.github.com/users/gregtatcam/orgs","repos_url":"https://api.github.com/users/gregtatcam/repos","events_url":"https://api.github.com/users/gregtatcam/events{/privacy}","received_events_url":"https://api.github.com/users/gregtatcam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mirage/ocaml-git/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-17T20:06:34Z","updated_at":"2015-07-18T15:09:07Z","closed_at":null,"body":"run 'ogit clone --bare remote-repo local-repo', then cd to local-repo and run 'git reset master --hard'. Get errors:\r\n\r\nerror: wrong index v2 file size in .git/objects/pack/pack-88a6bbf29934073da5deb72f2baadacd365dcda9.idx\r\nerror: wrong index v2 file size in .git/objects/pack/pack-88a6bbf29934073da5deb72f2baadacd365dcda9.idx\r\nfatal: Could not parse object 'master'.\r\n\r\nGit version 1.6.2. "},"comment":{"url":"https://api.github.com/repos/mirage/ocaml-git/issues/comments/122551257","html_url":"https://github.com/mirage/ocaml-git/issues/105#issuecomment-122551257","issue_url":"https://api.github.com/repos/mirage/ocaml-git/issues/105","id":122551257,"user":{"login":"samoht","id":103693,"avatar_url":"https://avatars.githubusercontent.com/u/103693?v=3","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T15:09:07Z","updated_at":"2015-07-18T15:09:07Z","body":"Thanks for the report! I looks like a 64b overflow in the sizes/offsets handling in the pack file. Should be easy to fix."}}