git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* let git grep consider sub projects
@ 2014-10-07  8:29 Olaf Hering
  2014-10-07 18:25 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Olaf Hering @ 2014-10-07  8:29 UTC (permalink / raw)
  To: git


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' leaves them alone, while 'git clean -dffx'
wipes everything.

Olaf

PS: Sometimes I miss a 'git clean -dfx --also-sub-repos' useful to
really clean everything before starting over.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-08  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07  8:29 let git grep consider sub projects Olaf Hering
2014-10-07 18:25 ` Junio C Hamano
2014-10-07 19:12   ` Mikael Magnusson
2014-10-08  6:48     ` Jens Lehmann
2014-10-08  6:59       ` Olaf Hering
2014-10-08  7:24         ` Jens Lehmann
2014-10-08  7:31           ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).