| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
5edebea ("xlocate: don't mark anything starting with a hyphen as ...")
added `--` so passing useful options like `--ignore-case` became
impossible.
429db43 ("xlocate: add ability to pass certain flags to git grep") made
an attempt to fix this by using a whitelist, but didn't fix the
leading-dash usecase.
If searching for pattern starting with dash, use
xlocate -e '-foo'
This reverts commit 5edebea0a738117dde41077cd23756e79f4417e7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Some of these are outright wrong (e.g. `echo foo 2>&1`), others are just
more verbose than they need to be.
Closes: #304 [via git-merge-pr]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable the column number for "git grep" too, and pipe through column
for nicer aligned output.
Before:
% ./xlocate /lib/libEGL
MesaLib-devel-22.1.7_1 5:/usr/lib/libEGL_mesa.so -> /usr/lib/libEGL_mesa.so.0
jetbrains-jdk-bin-11.0.15b2043.56_1 20:/usr/lib/jvm/jbrsdk/lib/libEGL.so
libglvnd-1.4.0_1 5:/usr/lib/libEGL.so.1 -> /usr/lib/libEGL.so.1.1.0
libglvnd-1.4.0_1 5:/usr/lib/libEGL.so.1.1.0
libglvnd-devel-1.4.0_1 5:/usr/lib/libEGL.so -> /usr/lib/libEGL.so.1
mesa-22.1.7_1 5:/usr/lib/libEGL_mesa.so.0 -> /usr/lib/libEGL_mesa.so.0.0.0
mesa-22.1.7_1 5:/usr/lib/libEGL_mesa.so.0.0.0
nvidia-libs-515.65.01_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.515.65.01
nvidia-libs-515.65.01_1 5:/usr/lib/libEGL_nvidia.so.515.65.01
nvidia390-libs-390.154_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.390.154
nvidia390-libs-390.154_1 5:/usr/lib/libEGL_nvidia.so.390.154
nvidia470-libs-470.141.03_1 5:/usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.470.141.03
nvidia470-libs-470.141.03_1 5:/usr/lib/libEGL_nvidia.so.470.141.03
After:
% ./xlocate /lib/libEGL
MesaLib-devel-22.1.7_1 /usr/lib/libEGL_mesa.so -> /usr/lib/libEGL_mesa.so.0
jetbrains-jdk-bin-11.0.15b2043.56_1 /usr/lib/jvm/jbrsdk/lib/libEGL.so
libglvnd-1.4.0_1 /usr/lib/libEGL.so.1 -> /usr/lib/libEGL.so.1.1.0
libglvnd-1.4.0_1 /usr/lib/libEGL.so.1.1.0
libglvnd-devel-1.4.0_1 /usr/lib/libEGL.so -> /usr/lib/libEGL.so.1
mesa-22.1.7_1 /usr/lib/libEGL_mesa.so.0 -> /usr/lib/libEGL_mesa.so.0.0.0
mesa-22.1.7_1 /usr/lib/libEGL_mesa.so.0.0.0
nvidia-libs-515.65.01_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.515.65.01
nvidia-libs-515.65.01_1 /usr/lib/libEGL_nvidia.so.515.65.01
nvidia390-libs-390.154_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.390.154
nvidia390-libs-390.154_1 /usr/lib/libEGL_nvidia.so.390.154
nvidia470-libs-470.141.03_1 /usr/lib/libEGL_nvidia.so.0 -> /usr/lib/libEGL_nvidia.so.470.141.03
nvidia470-libs-470.141.03_1 /usr/lib/libEGL_nvidia.so.470.141.03
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
Closes: #265 [via git-merge-pr]
|
| |
|
|
|
|
| |
Closes: #237 [via git-merge-pr]
|
|
|
|
| |
Closes: #199 [via git-merge-pr]
|
|
|
|
|
|
| |
Due to ERE, this also works if the argument starts with ^!.
Fixes #193.
|
|
|
|
|
|
|
|
|
| |
Also:
- Fix some indentation.
- Add notes about -g and -S options in manual
Closes: #194 [via git-merge-pr]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Unbreaks usecases where you want to start searching all files that end
with -<word> like -config or -x11
Closes: #105 [via git-merge-pr]
|
|
|
|
| |
Fixes #66.
|
|
|
|
| |
Closes #65.
|
| |
|
|
|
|
|
|
|
| |
With packed refs, refs/heads/master isn't there, but FETCH_HEAD works
well enough too.
Fixes #49.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|