{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/gradle-git-version/issues/28","repository_url":"https://api.github.com/repos/palantir/gradle-git-version","labels_url":"https://api.github.com/repos/palantir/gradle-git-version/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/palantir/gradle-git-version/issues/28/comments","events_url":"https://api.github.com/repos/palantir/gradle-git-version/issues/28/events","html_url":"https://github.com/palantir/gradle-git-version/issues/28","id":144557361,"number":28,"title":"Incorrectly marking builds as dirty","user":{"login":"chrisalice","id":979369,"avatar_url":"https://avatars.githubusercontent.com/u/979369?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisalice","html_url":"https://github.com/chrisalice","followers_url":"https://api.github.com/users/chrisalice/followers","following_url":"https://api.github.com/users/chrisalice/following{/other_user}","gists_url":"https://api.github.com/users/chrisalice/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisalice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisalice/subscriptions","organizations_url":"https://api.github.com/users/chrisalice/orgs","repos_url":"https://api.github.com/users/chrisalice/repos","events_url":"https://api.github.com/users/chrisalice/events{/privacy}","received_events_url":"https://api.github.com/users/chrisalice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-03-30T11:38:25Z","updated_at":"2016-10-17T17:24:23Z","closed_at":null,"body":"gradle-git-version is incorrectly marking my builds as dirty. After some experimentation, I discovered adding `git status` to circle.yml immediately before the broken build magically fixes it. I then ls-ed the entire workspace before and after `git status`, and discovered the `.git/index` file is being updated. According to https://www.kernel.org/pub/software/scm/git/docs/technical/racy-git.txt, the index file is maintained lazily, and git needs to verify the state of the world when determining the status. Presumably jgit is just a broken git implementation in this regard?"},"comment":{"url":"https://api.github.com/repos/palantir/gradle-git-version/issues/comments/254274285","html_url":"https://github.com/palantir/gradle-git-version/issues/28#issuecomment-254274285","issue_url":"https://api.github.com/repos/palantir/gradle-git-version/issues/28","id":254274285,"user":{"login":"hdost","id":643846,"avatar_url":"https://avatars.githubusercontent.com/u/643846?v=3","gravatar_id":"","url":"https://api.github.com/users/hdost","html_url":"https://github.com/hdost","followers_url":"https://api.github.com/users/hdost/followers","following_url":"https://api.github.com/users/hdost/following{/other_user}","gists_url":"https://api.github.com/users/hdost/gists{/gist_id}","starred_url":"https://api.github.com/users/hdost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdost/subscriptions","organizations_url":"https://api.github.com/users/hdost/orgs","repos_url":"https://api.github.com/users/hdost/repos","events_url":"https://api.github.com/users/hdost/events{/privacy}","received_events_url":"https://api.github.com/users/hdost/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T17:24:23Z","updated_at":"2016-10-17T17:24:23Z","body":"Looks like a bug that likely won't be resolved, since it's 2 years old https://bugs.eclipse.org/bugs/show_bug.cgi?id=452189"}}
{"actor":{"display_login":"hdost"}}