Re: [PATCH] t3700 (add): add failing test for add with submodules
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- Apr 9, 2013, 11:43 UTC
- Message-ID
- <5163FED4.8070403@gmail.com>
- In-Reply-To
- <20130408213006.GD9649@sigill.intra.peff.net>
W dniu 08.04.2013 23:30, Jeff King pisze:
Show 15 quoted lines
> On Mon, Apr 08, 2013 at 03:56:49PM +0530, Ramkumar Ramachandra wrote: > >> git add currently goes past submodule boundaries. Document this bug. > > It's not just submodules, but we should not recurse into any > sub-repository. If I have an unrelated Meta/ repository, I should not be > able to "git add Meta/foo", whether I have used "git submodule" or not. > > This topic came about 2 years ago, and I had a quick-and-dirty patch: > > http://thread.gmane.org/gmane.comp.version-control.git/170937/focus=171040 > > I do not recall anything about the patch at this point (i.e., whether it > was the right thing), but maybe it is a good starting point for somebody > to look into it.
Hmmm... I used to do (and still do) such not-recommended thing, i.e. keeping git/gitweb/TODO etc. in git/gitweb/.git repository, while having git/gitweb/gitweb.perl in git/.git repository.
So my (admittedly strange) setup will stop working?
-- Jakub Narębski