Thread (70 messages) flat view 70 messages, 12 authors, 2016-06-15

Re: [PATCH 3/6] Add 'resolve_gitlink_ref()' helper function

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:03

On 4/10/07, Linus Torvalds [off-list ref] wrote:
quoted
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 <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 :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help