Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH/alternative/raw and rough] setup.c: denote repo wide pathspecs by ':'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:41

Michael J Gruber [off-list ref] writes:
Also, e.g.,

git grep -e frotz "*.c" ":*.h"

will look in all C files in the cwd and and all headers everywhere.
Ah, that is cute.  I don't know if the syntax is acceptable to the general
public, but I do see the beauty in that approach of marking individual
pathspec as "(the rest is) from root".

Nice.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help