Re: Intricacies of submodules
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Apr 18, 2008, 01:48 UTC
- Message-ID
- <46dff0320804171848v1f48735dt9930dc023bdb0946@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.1.00.0804171530460.2879@woody.linux-foundation.org>
On Fri, Apr 18, 2008 at 6:32 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 15 quoted lines
> > > On Thu, 17 Apr 2008, Roman V. Shaposhnik wrote: > > > > Are you saying that a *remote* in-tree .gitconfig would be capable of > > affecting *local* system before the end of the clone operation? > > No. But what do you do after a "git clone". > > Do you, for example, do something like "git log -p" to actually see the > commits? > > And what happens if that runs an external diff viewer script that just > happens to do a "rm -rf $HOME"? >
Good point. This is the best example (maybe the only one till now) i have seen that demostrates the bad thing of in-tree .gitconfig. So i vote for the limited in-tree .gitconfig point of Linus.
-- Ping Yin