Re: Intricacies of submodules
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Apr 17, 2008, 21:25 UTC
- Message-ID
- <46a038f90804171425q1cc4cff4m6b783252040a3b26@mail.gmail.com>
- In-Reply-To
- <bd6139dc0804171400x515b3c8br3cb1501cca8a6d0a@mail.gmail.com>
On Thu, Apr 17, 2008 at 6:00 PM, Sverre Rabbelier <alturin@gmail.com> wrote:
> provide any hooks to execute things (which of course includes changing > the environment) it should be fine, but if it is, it should be ignored > till after clone has finished.
It should not be allowed at all. After the clone is the review, and that has to be safe too.
> Because of that an in-tree '.gitconfig' would have no security risks > as long as it is not 'used' until after the clone.
This is not true. A pre-commit hook or pre-checkout hook could be destructive.
cheers,
m
-- martin.langhoff@gmail.com martin@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff