{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/151","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/151/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/151/events","html_url":"https://github.com/rebar/rebar3/issues/151","id":57738818,"number":151,"title":"upgrade fetches a dependency everytime if the git ref is a sha1 prefix","user":{"login":"fishcakez","id":2001229,"avatar_url":"https://avatars.githubusercontent.com/u/2001229?v=3","gravatar_id":"","url":"https://api.github.com/users/fishcakez","html_url":"https://github.com/fishcakez","followers_url":"https://api.github.com/users/fishcakez/followers","following_url":"https://api.github.com/users/fishcakez/following{/other_user}","gists_url":"https://api.github.com/users/fishcakez/gists{/gist_id}","starred_url":"https://api.github.com/users/fishcakez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fishcakez/subscriptions","organizations_url":"https://api.github.com/users/fishcakez/orgs","repos_url":"https://api.github.com/users/fishcakez/repos","events_url":"https://api.github.com/users/fishcakez/events{/privacy}","received_events_url":"https://api.github.com/users/fishcakez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T17:53:08Z","updated_at":"2015-02-15T17:59:55Z","closed_at":null,"body":"For example a git dependency with `{ref, \"74790b4\"}` will cause the dependency to be fetched everytime upgrade is called, whereas `{ref, \"74790b410cf97e75a6fb48309bdd316ce00c5d74\"}` does not."},"comment":{"url":"https://api.github.com/repos/rebar/rebar3/issues/comments/74428345","html_url":"https://github.com/rebar/rebar3/issues/151#issuecomment-74428345","issue_url":"https://api.github.com/repos/rebar/rebar3/issues/151","id":74428345,"user":{"login":"tsloughter","id":36227,"avatar_url":"https://avatars.githubusercontent.com/u/36227?v=3","gravatar_id":"","url":"https://api.github.com/users/tsloughter","html_url":"https://github.com/tsloughter","followers_url":"https://api.github.com/users/tsloughter/followers","following_url":"https://api.github.com/users/tsloughter/following{/other_user}","gists_url":"https://api.github.com/users/tsloughter/gists{/gist_id}","starred_url":"https://api.github.com/users/tsloughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsloughter/subscriptions","organizations_url":"https://api.github.com/users/tsloughter/orgs","repos_url":"https://api.github.com/users/tsloughter/repos","events_url":"https://api.github.com/users/tsloughter/events{/privacy}","received_events_url":"https://api.github.com/users/tsloughter/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T17:59:55Z","updated_at":"2015-02-15T17:59:55Z","body":"Only option here is that we could change the `ref` check to be a `lists:prefix/2` instead of exact match."}}