about summary refs log tree commit diff
path: root/xlocate
Commit message (Collapse)AuthorAgeFilesLines
* xlocate: error when no pattern is givenLeah Neukirchen2023-10-041-2/+3
|
* xlocate: error when no pattern is givenLeah Neukirchen2023-10-041-0/+3
|
* xlocate: pass -e flag to git grepPiraty2023-10-041-2/+3
| | | | | | | | | | | | | | | | 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
* xlocate: add ability to pass certain flags to git grepclassabbyamp2023-08-051-11/+23
| | | | | | | | | | | | | | 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.
* Clean up shell redirectstriallax2023-06-261-5/+5
| | | | | | | 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]
* xlocate: handle lack of column(1) gracefullyclassabbyamp2022-11-021-1/+7
|
* xlocate: output aligned, don't show "git grep" columnMartin Tournoij2022-10-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* xlocate: replace alpha.de with repo-defaultclassabbyamp2022-06-141-1/+1
|
* xlocate: allow chroot-gitPiotr Wójcik2022-04-261-7/+16
| | | | Closes: #237 [via git-merge-pr]
* xlocate: error out if the database doesn't existDuncan Overbruck2020-09-131-3/+2
| | | | Closes: #199 [via git-merge-pr]
* xlocate: fix argument passing to xbps-query --regex -RoLeah Neukirchen2020-08-161-1/+1
| | | | | | Due to ERE, this also works if the argument starts with ^!. Fixes #193.
* xlocate: add warning when using xbps-query.Érico Rolim2020-08-161-2/+3
| | | | | | | | | Also: - Fix some indentation. - Add notes about -g and -S options in manual Closes: #194 [via git-merge-pr]
* xlocate: add config fileeater2019-09-031-0/+7
|
* xlocate: respect $XDG_CACHE_HOME v0.55SolitudeSF2019-02-251-1/+2
|
* switch from voidlinux.eu to voidlinux.orgJohannes Brechtmann2019-01-011-1/+1
|
* xlocate: don't mark anything starting with a hyphen as an invalid option v0.53maxice82018-11-191-5/+2
| | | | | | | Unbreaks usecases where you want to start searching all files that end with -<word> like -config or -x11 Closes: #105 [via git-merge-pr]
* xlocate: fix option parsing v0.48Leah Neukirchen2017-08-111-7/+11
| | | | Fixes #66.
* xlocate: drop obsolete flag -u v0.47Leah Neukirchen2017-08-101-26/+5
| | | | Closes #65.
* xlocate: cleanup v0.44Christian Neukirchen2016-10-171-4/+2
|
* xlocate: better outdated checkChristian Neukirchen2016-10-171-1/+7
| | | | | | | With packed refs, refs/heads/master isn't there, but FETCH_HEAD works well enough too. Fixes #49.
* xlocate: check refs/heads/master, better messageChristian Neukirchen2016-07-171-2/+6
|
* xlocate: force grep.lineNumber=false v0.41.1Christian Neukirchen2016-06-021-1/+1
|
* xlocate: xsyncgit: also create basedirChristian Neukirchen2016-06-021-0/+1
|
* xlocate: add remote search-repo support v0.41Christian Neukirchen2016-06-021-1/+13
|
* xlocate: create $XLOCATE_GIT basedirChristian Neukirchen2016-06-021-0/+1
|
* xlocate: override user.name and user.emailChristian Neukirchen2016-06-021-1/+1
|
* xlocate: set --author for people with unconfigured git.Christian Neukirchen2016-01-121-1/+1
|
* xlocate: use absolute path to realpath to avoid shell builtins.Christian Neukirchen2016-01-051-1/+1
|
* xlocate: add experimental Git backend. v0.33Christian Neukirchen2016-01-031-7/+44
|
* xlocate: add progress bar and fix for newer findutils which need / first.Christian Neukirchen2016-01-031-2/+8
|
* xlocate: force using glocate from findutils. v0.31Christian Neukirchen2015-11-171-1/+1
|
* xlocate: detect ^ and $ as regexp too.Christian Neukirchen2015-08-011-1/+1
|
* xlocate: don't autoupdate databaseChristian Neukirchen2015-01-221-1/+1
|
* xlocate: use -u to create/update database.Christian Neukirchen2015-01-081-6/+15
|
* xlocate: use locatedb ~/.cache/xlocate.db if it existsChristian Neukirchen2014-10-101-1/+21
|
* xlocate: fix for filenames with :Christian Neukirchen2014-10-101-1/+1
|
* initial import of xtoolsChristian Neukirchen2014-07-301-0/+4