Re: [PATCH 3/6] Add 'resolve_gitlink_ref()' helper function
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Apr 10, 2007, 15:57 UTC
- Message-ID
- <81b0412b0704100857h7550b3f9r1772dc5789c80426@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0704100849170.6730@woody.linux-foundation.org>
On 4/10/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 8 quoted lines
> > > > 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.
Show 8 quoted lines
> 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 <sha1> <dirname> > > (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 :)