From 429db434a76e2931985d347ad60b7e37debbdaee Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 22 Mar 2023 05:55:11 -0400 Subject: xlocate: add ability to pass certain flags to git grep implemented what I thought would be useful and made sense, namely: - `-E, --extended-regexp` - `-F, --fixed-strings` - `-G, --basic-regexp` - `-P, --perl-regexp` - `-i, --ignore-case` - `-w, --word-regexp` This will also allow for someone with `grep.patternType` or `grep.extendedRegexp` set in git's config to change the pattern type. --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 291c1a4..d481f27 100644 --- a/README +++ b/README @@ -78,12 +78,14 @@ COMMANDS - use ‘:pkgname’ to lint template as staged in the git index - use ‘:’ to lint all templates staged in the git index - xlocate -g | -S | pattern + xlocate -g | -S | [-EFGPiw] pattern – locate files in all XBPS packages -g Update a git based xlocate database, useful for local repositories -S Sync with the official git based xlocate database, which is recommended before using the tool + -E | -F | -G | -P | -i | -w + Modifies how pattern is matched. See git-grep(1) for more info xlog pkg – open commit log for XBPS template -- cgit 1.4.1