{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/43839","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43839/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43839/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43839/events","html_url":"https://github.com/Homebrew/homebrew/issues/43839","id":106117590,"number":43839,"title":"homebrew does not cache git repos from --HEAD builds","user":{"login":"aw1621107","id":566572,"avatar_url":"https://avatars.githubusercontent.com/u/566572?v=3","gravatar_id":"","url":"https://api.github.com/users/aw1621107","html_url":"https://github.com/aw1621107","followers_url":"https://api.github.com/users/aw1621107/followers","following_url":"https://api.github.com/users/aw1621107/following{/other_user}","gists_url":"https://api.github.com/users/aw1621107/gists{/gist_id}","starred_url":"https://api.github.com/users/aw1621107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw1621107/subscriptions","organizations_url":"https://api.github.com/users/aw1621107/orgs","repos_url":"https://api.github.com/users/aw1621107/repos","events_url":"https://api.github.com/users/aw1621107/events{/privacy}","received_events_url":"https://api.github.com/users/aw1621107/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-12T00:54:38Z","updated_at":"2015-09-12T00:59:54Z","closed_at":null,"body":"Stable build and bottles get cached, so why not --HEAD builds?\r\n\r\nCould help with subsequent --HEAD builds, since the entire repo\r\nand/or working tree doesn't have to be downloaded/checked out.\r\nEspecially for --HEAD builds, which could update frequently\r\n(although brew update doesn't update --HEAD builds).\r\n\r\nNot sure how many people would find this useful... I notice it a\r\nlot because I'm tweaking the llvm formula, but I don't know how\r\nfrequently --HEAD builds of larger builds are built."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/139694103","html_url":"https://github.com/Homebrew/homebrew/issues/43839#issuecomment-139694103","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43839","id":139694103,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T00:59:54Z","updated_at":"2015-09-12T00:59:54Z","body":"`head` repos are cached:\r\n\r\n```\r\nbrew fetch git --HEAD\r\nls -1 `brew --cache` | grep git\r\ngit--git\r\ngit--html-2.5.2.tar.xz\r\ngit--man-2.5.2.tar.xz\r\n```\r\n\r\nWhat are you seeing locally?"}}