From: Alex Riesen Date: Tue, 10 Apr 2007 15:57:03 GMT Subject: Re: [PATCH 3/6] Add 'resolve_gitlink_ref()' helper function Message-ID: <81b0412b0704100857h7550b3f9r1772dc5789c80426@mail.gmail.com> In-Reply-To: On 4/10/07, Linus Torvalds wrote: > > > > After a bit of thinking I could imagine a repo which is > > used for integration exclusively (no compilation or looking > > at the files at all). > > Well, you also cannot *commit* to a bare repository, so it's a bit > pointless for integration reasons. You'd still have to commit all changes > somewhere else. Yes. Subprojects are push-only for storing and reference purposes. Superproject can have integrated data checks in Makefiles. > That said, it's definitely designed so that if you want to automate > tracking other peoples bare repositories, you can do so: you'd just have > to *really* script it with something like > > git update-index --cacheinfo 0160000 > > (which is how you could create those commits to a bare repo too, so it's > not like this is really even any different) Nice :)