{"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/comments/11538496","html_url":"https://github.com/NixOS/nixpkgs/commit/c659105ef8b2fe87822acf52f191a189f62e4d8a#commitcomment-11538496","id":11538496,"user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"c659105ef8b2fe87822acf52f191a189f62e4d8a","created_at":"2015-06-05T10:20:14Z","updated_at":"2015-06-05T10:20:14Z","body":"@bjornfor, yes, a hard reset would probably do it. It's sad that user code has to do this, though. The whole point of keeping the git repository data around in the checked-out copy is that people want to run a command like `git describe`. The fact that these commands don't work reliably comes a bit as a surprise."}}