{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/3008","repository_url":"https://api.github.com/repos/kennethreitz/requests","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/3008/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/3008/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/3008/events","html_url":"https://github.com/kennethreitz/requests/issues/3008","id":133362834,"number":3008,"title":"invalid git history","user":{"login":"thestinger","id":1505226,"avatar_url":"https://avatars.githubusercontent.com/u/1505226?v=3","gravatar_id":"","url":"https://api.github.com/users/thestinger","html_url":"https://github.com/thestinger","followers_url":"https://api.github.com/users/thestinger/followers","following_url":"https://api.github.com/users/thestinger/following{/other_user}","gists_url":"https://api.github.com/users/thestinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thestinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thestinger/subscriptions","organizations_url":"https://api.github.com/users/thestinger/orgs","repos_url":"https://api.github.com/users/thestinger/repos","events_url":"https://api.github.com/users/thestinger/events{/privacy}","received_events_url":"https://api.github.com/users/thestinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-12T22:51:09Z","updated_at":"2016-03-05T23:22:30Z","closed_at":"2016-02-13T00:11:32Z","body":"The Git history for this repository is invalid. You'll run into this if you enable verification of the history in your configuration (which should really be the default):\r\n\r\n```\r\n[transfer]\r\n\tfsckobjects = true\r\n\r\n[fetch]\r\n\tfsckobjects = true\r\n\r\n[receive]\r\n\tfsckobjects = true\r\n```\r\n\r\n```\r\n% git clone https://github.com/kennethreitz/requests.git\r\nCloning into 'requests'...\r\nremote: Counting objects: 16580, done.\r\nerror: object 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: badTimezone: invalid author/committer line - bad time zone\r\nfatal: Error in object\r\n```\r\n\r\nIf you look at the commit with verification disabled, you can see the problem:\r\n\r\n```\r\ncommit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8\r\nAuthor: Shrikant Sharat Kandula <shrikantsharat.k@gmail.com>\r\nDate:   Thu Sep 8 02:38:50 2011 +51800\r\n\r\n    Typo in documentation\r\n    \r\n    The kwarg is named `headers`, not `header`. Also, its a dict, not a set.\r\n```\r\n\r\nI don't have a suggestion on how to approach this. It's quite unfortunate. The history would probably have to be rewritten, and that would be awful. I do think it's worth noting though... verification by default may become the default on various distributions or even upstream."},"comment":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/comments/192758509","html_url":"https://github.com/kennethreitz/requests/issues/3008#issuecomment-192758509","issue_url":"https://api.github.com/repos/kennethreitz/requests/issues/3008","id":192758509,"user":{"login":"ryneeverett","id":3280280,"avatar_url":"https://avatars.githubusercontent.com/u/3280280?v=3","gravatar_id":"","url":"https://api.github.com/users/ryneeverett","html_url":"https://github.com/ryneeverett","followers_url":"https://api.github.com/users/ryneeverett/followers","following_url":"https://api.github.com/users/ryneeverett/following{/other_user}","gists_url":"https://api.github.com/users/ryneeverett/gists{/gist_id}","starred_url":"https://api.github.com/users/ryneeverett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryneeverett/subscriptions","organizations_url":"https://api.github.com/users/ryneeverett/orgs","repos_url":"https://api.github.com/users/ryneeverett/repos","events_url":"https://api.github.com/users/ryneeverett/events{/privacy}","received_events_url":"https://api.github.com/users/ryneeverett/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T23:22:30Z","updated_at":"2016-03-05T23:22:30Z","body":"> I am not directly cloning YCM, I am doing it via NeoBundle (a vim plugin manager). I think I have shallow clone set up for that but it probably doesn't do shallow checkout of submodules (if there is a way to do that via git).\r\n\r\nSee <http://duncansungwkim.blogspot.ca/2014/04/workaround-of-git-shalow-clone-with.html>. There is a workaround but it may involve forking your plugin manager. (Ran into the same with [vim-plug](https://github.com/junegunn/vim-plug/issues/217#issuecomment-96365992).)"}}