Re: let git grep consider sub projects

2014-10-08 Thread Olaf Hering
On Wed, Oct 08, Jens Lehmann wrote: > Okay, I just checked that xen doesn't use submodules but uses simple > embedded repos ignored by the .gitignore file. From a quick glance > it looks like handling the sub projects is scripted in the Makefiles. > This is perfectly fine, but then you can't reall

Re: let git grep consider sub projects

2014-10-08 Thread Jens Lehmann
Am 08.10.2014 um 08:59 schrieb Olaf Hering: On Wed, Oct 08, Jens Lehmann wrote: git foo && git submodule foreach --recursive git foo Looks like a submodule is yet another thing, or I have to learn what a submodule is: olaf@bax:~/xen $ find . -name .git ./.git ./tools/qemu-xen-dir-remote/

Re: let git grep consider sub projects

2014-10-08 Thread Olaf Hering
On Wed, Oct 08, Jens Lehmann wrote: >git foo && git submodule foreach --recursive git foo Looks like a submodule is yet another thing, or I have to learn what a submodule is: olaf@bax:~/xen $ find . -name .git ./.git ./tools/qemu-xen-dir-remote/.git ./tools/qemu-xen-traditional-dir-remote/.g

Re: let git grep consider sub projects

2014-10-07 Thread Jens Lehmann
Am 07.10.2014 um 21:12 schrieb Mikael Magnusson: On 7 October 2014 20:25, Junio C Hamano wrote: Olaf Hering writes: How can I teach 'git grep $string' to also consider subprojects? The build system of xen.git clones 4 other trees into a directory in its source tree during build. It would be

Re: let git grep consider sub projects

2014-10-07 Thread Mikael Magnusson
On 7 October 2014 20:25, Junio C Hamano wrote: > Olaf Hering writes: > >> How can I teach 'git grep $string' to also consider subprojects? >> >> The build system of xen.git clones 4 other trees into a directory in its >> source tree during build. It would be nice if my 'git grep' searches >> also

Re: let git grep consider sub projects

2014-10-07 Thread Junio C Hamano
Olaf Hering writes: > How can I teach 'git grep $string' to also consider subprojects? > > The build system of xen.git clones 4 other trees into a directory in its > source tree during build. It would be nice if my 'git grep' searches > also in these cloned subdirs. Somehow there must be some kno

let git grep consider sub projects

2014-10-07 Thread Olaf Hering
How can I teach 'git grep $string' to also consider subprojects? The build system of xen.git clones 4 other trees into a directory in its source tree during build. It would be nice if my 'git grep' searches also in these cloned subdirs. Somehow there must be some knowledge because 'git clean -dfx