100 Commits
Author SHA1 Message Date
Thayne McCombs d76b4e3e5b Merge pull request #2196 from parneetsingh022/main
Fix integer overflow when parsing size constraints with large values.
2026-10-27 21:27:06 -06:00
Thayne McCombs c44735ec0f Merge pull request #2172 from ump45nose/completion-type-dir-alias
fix(completion): suggest the accepted --type alias dir in the zsh completion
2026-10-24 13:06:58 -06:00
Thayne McCombs 08a3a48a5a Merge pull request #2190 from NavpreetSSidhu/man-type-list-indent
docs: fix spacing of --type values in the man page
2026-10-23 22:27:13 -06:00
Thayne McCombs e3eead9da7 Merge pull request #2185 from mabunemeh/fix-inline-flags-smart-case
Fix: Explicit regex case sensitivity matching (?i) makes other clauses case-sensitive
2026-10-23 01:31:04 -06:00
Thayne McCombs 9e904639ae Merge pull request #2187 from ump45nose/docs/threads-default-cap
docs: mention the 64-thread cap in the --threads default
2026-10-22 00:29:09 -06:00
Thayne McCombs 8888f6d9df Merge pull request #1739 from adamnemecek/master
ran `cargo clippy --fix -- -Wclippy::use_self`
2026-10-21 23:58:45 -06:00
Thayne McCombs d5365d3fa0 Merge branch 'master' into master 2026-10-21 00:23:18 -06:00
Thayne McCombs cfed17a2bc Merge pull request #2165 from ump45nose/completion-and-takes-a-pattern
fix(completion): --and takes a search pattern, not a search path
2026-10-21 00:04:16 -06:00
Thayne McCombs c3dccad245 Merge pull request #2160 from sharkdp/dependabot/github_actions/actions/upload-artifact-7.0.2
build(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2
2026-10-20 22:46:43 -06:00
Thayne McCombs 41ee5e954c Merge pull request #2173 from manish-9245/fix/382-filetypes-ctor
refactor: extract FileTypes construction into impl block (#382)
2026-10-20 01:45:47 -06:00
Thayne McCombs dbfe46bd1d Merge pull request #2168 from ump45nose/completion-gibibytes
fix(completion): the Gi size unit is gibibytes, not gigibytes
2026-10-17 22:16:47 -06:00
Thayne McCombs 91f5abbfa5 Merge pull request #2179 from ump45nose/man-no-ignore-parent
docs: list .ignore and .fdignore in the --no-ignore-parent man page entry
2026-10-17 15:55:08 -06:00
Thayne McCombs b6ca4e0216 Merge pull request #2152 from sharkdp/dependabot/github_actions/vedantmgoyal9/winget-releaser-b7370d4d152efdce803a26cc6ca9eee58cb2ad54
build(deps): bump vedantmgoyal9/winget-releaser from 4ffc7888bffd451b357355dc214d43bb9f23917e to b7370d4d152efdce803a26cc6ca9eee58cb2ad54
2026-10-17 00:12:31 -06:00
Thayne McCombs 14dcd92fb7 Merge pull request #2144 from sharkdp/dependabot/cargo/normpath-1.5.2
build(deps): bump normpath from 1.5.1 to 1.5.2
2026-10-05 21:00:00 -06:00
Thayne McCombs 24c8a829f6 Merge pull request #2145 from sharkdp/dependabot/cargo/jiff-0.2.37
build(deps): bump jiff from 0.2.35 to 0.2.37
2026-10-05 19:10:02 -06:00
Thayne McCombs c71afdf0c5 Merge pull request #2147 from sharkdp/dependabot/cargo/globset-0.4.20
build(deps): bump globset from 0.4.19 to 0.4.20
2026-10-05 19:08:46 -06:00
Thayne McCombs b010841c6d Merge pull request #2150 from nyurik/binstall
fix: point cargo-binstall at the fd release asset
2026-10-05 19:06:39 -06:00
Thayne McCombs 9fe5cb7860 Merge pull request #2143 from tmccombs/broken-symlink-refactor
refactor: Avoid depending on ignore implementation detail
2026-10-04 22:52:14 -06:00
Thayne McCombs 3460b1e96c Merge pull request #2148 from sharkdp/dependabot/cargo/crossbeam-channel-0.5.17
build(deps): bump crossbeam-channel from 0.5.16 to 0.5.17
2026-10-02 18:49:54 -06:00
Thayne McCombs 3b3baeaad5 refactor: Avoid depending on ignore implementation detail
This refactors how we handle ignore::Error in our walk code so that we
don't depend on the implementation detail of how the different Error
enum values are nested. It may also have a slight perfermance benefit
since we only walk the chain of errors once, instead of multiple times.

Related to #2039
2026-09-24 02:29:46 -06:00
Thayne McCombs ce97e473eb Merge pull request #2039 from hexbinoct/fix/min-depth-broken-symlink
Compute depth for broken symlinks so --min-depth keeps them
2026-09-24 01:34:13 -06:00
Thayne McCombs 19a55aadcd docs(help): pattern is mandatory for path
Explicitly specify in the help that if you pass a positional
path argument, you need to pass in a pattern first.
2026-09-20 00:48:11 -06:00
Thayne McCombs 24198d904a fix: Better sanitizing
This refactors the sanitization code somewhat, to provide a couple
benefits:

- Ensure we sanitize output in error messages (#2119), while not
  escaping newlines from error messages.
- Avoids some unnecessary allocations and string copies
- Makes `print_error` a little nicer to use. As a macro, it avoids
  needing a separate call to `format!`.

The main downside is added complexity.

Fixes: #2119
2026-09-15 02:00:58 -06:00
Thayne McCombs 1765d0817b fix: Re-enable jemalloc by default
The "use-jemalloc" feature was accidentally removed from the default
features in 92c54d37c0.

This turns it back on.
2026-09-02 09:58:02 -06:00
Thayne McCombs 1e07fcb744 Merge pull request #2106 from tmccombs/fix-error-newlines
fix: don't sanitize error message
2026-09-02 09:57:42 -06:00
Thayne McCombs cdea7f5633 Merge pull request #1943 from tmccombs/archive-script
build: Create archive script
2026-08-27 23:52:23 -06:00
Thayne McCombs a3942dbb25 fix: don't sanitize error message
Calling `maybe_sanitize` on error messages results in newlines getting
replaced with "\x0a". This is not desirable for error messages that have
newlines.

I audited everwhere we construct an error, and call print_error and
confirmed that none of those places have inputs that include found
paths. I'm not too worried about inputs that come from command line
arguments.

This bug was introduced in 92c54d37c0.

Fixes: #2104
2026-08-27 22:37:42 -06:00
Thayne McCombs fe0e455fee Merge pull request #2102 from tmccombs/changelog-update
chore: Update version in CHANGELOG
2026-08-26 09:54:02 -06:00
Thayne McCombs a89e394a0d chore: Update version in CHANGELOG 2026-08-26 02:12:47 -06:00
Thayne McCombs 4f81778774 Merge pull request #2101 from tmccombs/release-10.5.0
chore: Bump to version 10.5.0
2026-08-26 01:54:19 -06:00
Thayne McCombs 711ba7fe67 chore: Buimp to version 10.5.0 2026-08-26 01:27:33 -06:00
Thayne McCombs c276ac79f4 build: Create archive script
Move the code for creating the archive from the GHA yaml into a
dedicated script file.
2026-08-26 01:00:44 -06:00
Thayne McCombs ee20f426dd Merge pull request #2091 from sharkdp/dependabot/github_actions/actions/attest-4.2.1
build(deps): bump actions/attest from 4.2.0 to 4.2.1
2026-08-09 01:42:46 -06:00
Thayne McCombs 0b10bf2665 Merge pull request #2086 from sharkdp/dependabot/cargo/crossbeam-channel-0.5.16
build(deps): bump crossbeam-channel from 0.5.15 to 0.5.16
2026-08-09 01:37:12 -06:00
Thayne McCombs aaecbc0a58 Merge pull request #2085 from sharkdp/dependabot/cargo/ignore-0.4.31
build(deps): bump ignore from 0.4.26 to 0.4.31
2026-08-09 01:36:38 -06:00
Thayne McCombs cb4069ec55 Merge pull request #2087 from sharkdp/dependabot/cargo/globset-0.4.19
build(deps): bump globset from 0.4.18 to 0.4.19
2026-08-09 01:35:32 -06:00
Thayne McCombs 69a25907ab Merge pull request #2084 from sharkdp/dependabot/cargo/anyhow-1.0.104
build(deps): bump anyhow from 1.0.102 to 1.0.104
2026-08-09 01:35:00 -06:00
Thayne McCombs 868c3a34e2 Merge pull request #2083 from sharkdp/dependabot/cargo/libc-0.2.189
build(deps): bump libc from 0.2.186 to 0.2.189
2026-08-09 01:32:52 -06:00
Thayne McCombs ee195f4dd6 Merge pull request #2082 from nikolauspschuetz/fix-changed-time-overflow-panic
Fix panic on out-of-range '@' Unix timestamp in time filters
2026-08-09 01:32:07 -06:00
Thayne McCombs 0f1f9676dc Merge pull request #2068 from tmccombs/fix-clippy
fix: New clippy warnings
2026-08-06 10:54:59 -06:00
Thayne McCombs 41532d114e Merge pull request #2075 from cmelaro/fix-readme-example
Update README.md to resolve non-working example.
2026-07-27 09:41:31 -06:00
Thayne McCombs ca51233d27 Merge pull request #2073 from sharkdp/dependabot/github_actions/actions/checkout-7.0.1
build(deps): bump actions/checkout from 7.0.0 to 7.0.1
2026-07-24 14:22:05 -06:00
Thayne McCombs 3381ab89d7 Merge pull request #2070 from sharkdp/dependabot/github_actions/actions/attest-4.2.0
build(deps): bump actions/attest from 4.1.1 to 4.2.0
2026-07-24 14:21:25 -06:00
Thayne McCombs acc64aab12 fix: New clippy warnings 2026-07-23 01:55:04 -06:00
Thayne McCombs eead1886cd Merge pull request #2066 from sharkdp/dependabot/github_actions/softprops/action-gh-release-3.0.2
build(deps): bump softprops/action-gh-release from 3.0.1 to 3.0.2
2026-07-23 01:47:36 -06:00
Thayne McCombs 1bfeea237a Merge pull request #2063 from kobihikri/docs-msrv
docs: update required Rust version in README to match Cargo.toml MSRV (1.77.2 -> 1.90.0)
2026-07-15 14:22:25 -06:00
Thayne McCombs 369a71a4c5 Merge pull request #2064 from WilliamLeony/fix-readme-bash-fence
Fix inconsistent code fence language in README.md
2026-07-15 14:19:06 -06:00
Thayne McCombs 5a5852e15b Merge pull request #2052 from sharkdp/dependabot/github_actions/actions/attest-4.1.1
build(deps): bump actions/attest from 4.1.0 to 4.1.1
2026-07-07 02:00:22 -06:00
Thayne McCombs dda13cccf6 Merge pull request #2047 from sharkdp/dependabot/cargo/nix-0.31.3
build(deps): bump nix from 0.31.2 to 0.31.3
2026-07-06 07:19:29 -06:00
Thayne McCombs aa41f342b5 Merge pull request #2050 from sharkdp/dependabot/cargo/jiff-0.2.29
build(deps): bump jiff from 0.2.27 to 0.2.29
2026-07-04 23:39:02 -06:00
Thayne McCombs cffed27a2e Merge pull request #2049 from sharkdp/dependabot/cargo/regex-1.12.4
build(deps): bump regex from 1.12.3 to 1.12.4
2026-07-04 23:37:52 -06:00
Thayne McCombs 6b5d1ac9d6 Merge pull request #2048 from sharkdp/dependabot/cargo/ignore-0.4.26
build(deps): bump ignore from 0.4.25 to 0.4.26
2026-07-04 23:37:22 -06:00
Thayne McCombs fb1486f210 Merge pull request #1905 from tmccombs/release-automation
Add a little more automation for the release
2026-07-01 13:27:06 -06:00
Thayne McCombs c73e5e58a4 Merge pull request #2045 from tmccombs/io-error-handling
refactor: Get io error from method
2026-07-01 09:03:44 -06:00
Thayne McCombs f898e95db5 refactor: Get io error from method
use `ignore::Error::io_error()` to inspect the `std::io::Error` insted
of pattern matching on `ignore::Error::Io`.

This avoids relying on the implementation of ignore and how it organizes
the error. In particular, this would allow us to handle if the IO error
was wrapped in a `WithDepth`, as would be the case if
BurntSushi/ripgrep#3458 was merged.

This also allows us to remove some duplicate code.
2026-07-01 00:55:42 -06:00
Thayne McCombs b12606438e Merge pull request #1976 from curious-rabbit/master
fix: sanitize escape sequence injection
2026-07-01 00:36:48 -06:00
Thayne McCombs 95dc6454d5 Merge pull request #2037 from parneetsingh022/tests/search-str-for-entry-edge-cases
Add tests for search_str_for_entry without base dir
2026-06-28 23:44:14 -06:00
Thayne McCombs 61c5399fa4 Merge pull request #2036 from greymoth-jp/fix/and-pattern-path-separator
Check --and patterns for path separators too (match #1975)
2026-06-28 23:42:55 -06:00
Thayne McCombs 126be98699 Merge pull request #2038 from sharkdp/dependabot/github_actions/softprops/action-gh-release-3.0.1
build(deps): bump softprops/action-gh-release from 3.0.0 to 3.0.1
2026-06-28 10:56:02 -06:00
Thayne McCombs 77629639ff Merge pull request #2040 from bonanza127/fix-readme-number-format
docs(README): use consistent thousands separator
2026-06-28 02:03:26 -06:00
Thayne McCombs a8a77d2162 Merge pull request #2034 from sharkdp/dependabot/github_actions/actions/checkout-7.0.0
build(deps): bump actions/checkout from 6.0.3 to 7.0.0
2026-06-25 01:13:26 -06:00
Thayne McCombs 3b3e328b5c Merge pull request #2032 from sharkdp/dependabot/github_actions/actions/checkout-6.0.3
build(deps): bump actions/checkout from 6.0.2 to 6.0.3
2026-06-18 13:36:42 -06:00
Thayne McCombs b5ae476fb1 Merge pull request #2030 from sharkdp/dependabot/github_actions/actions/checkout-6.0.2
build(deps): bump actions/checkout from 6 to 6.0.2
2026-06-18 00:04:19 -06:00
Thayne McCombs 094446004d Merge pull request #2001 from leno23/docs/extension-help-1693
docs: clarify that -e/--extension matches all entry types
2026-06-18 00:03:42 -06:00
Thayne McCombs 25461e5ce1 Merge pull request #2029 from sharkdp/dependabot/cargo/clap_complete-4.6.5
build(deps): bump clap_complete from 4.6.2 to 4.6.5
2026-06-06 00:48:49 -06:00
Thayne McCombs f7d4d717c2 Merge pull request #2026 from sharkdp/dependabot/cargo/filetime-0.2.29
build(deps): bump filetime from 0.2.27 to 0.2.29
2026-06-04 10:30:46 -06:00
Thayne McCombs 8e80bbe721 Merge pull request #2027 from sharkdp/dependabot/cargo/tikv-jemallocator-0.7.0
build(deps): bump tikv-jemallocator from 0.6.1 to 0.7.0
2026-06-04 02:08:22 -06:00
Thayne McCombs b25ca81375 Merge pull request #2028 from sharkdp/dependabot/cargo/normpath-1.5.1
build(deps): bump normpath from 1.5.0 to 1.5.1
2026-06-04 02:07:11 -06:00
Thayne McCombs f72512ff43 Merge pull request #2025 from sharkdp/dependabot/cargo/jiff-0.2.27
build(deps): bump jiff from 0.2.24 to 0.2.27
2026-06-04 01:13:20 -06:00
Thayne McCombs 42b2ab8a84 Merge pull request #1983 from DeflateAwning/feat-exact-i1963
feat: Add --exact argument to match exact filename
2026-05-20 01:26:24 -06:00
Thayne McCombs febc1b692f Merge pull request #2011 from stevenwalton/master
docs: Update Help String
2026-05-18 00:22:07 -06:00
Thayne McCombs a2d6bea5ac Merge pull request #1984 from tmccombs/comment-ai-policy
docs: Add policy for comments
2026-05-17 13:18:30 -06:00
Thayne McCombs e3a065dfe1 docs: Remove unnecessary phrase
"if you are a non-native English speaker" isn't really needed.
2026-05-17 13:13:16 -06:00
Thayne McCombs d491003759 Merge pull request #2006 from Sean-Kenneth-Doherty/codex/single-dash-search-path
Treat single dash as a literal search path
2026-05-17 12:32:09 -06:00
Thayne McCombs 7f1b1471d5 Merge pull request #1988 from sharkdp/dependabot/cargo/clap_complete-4.6.2
build(deps): bump clap_complete from 4.6.0 to 4.6.2
2026-05-02 00:49:19 -06:00
Thayne McCombs fe77ab4810 Merge pull request #1989 from sharkdp/dependabot/cargo/clap-4.6.1
build(deps): bump clap from 4.6.0 to 4.6.1
2026-05-02 00:48:55 -06:00
Thayne McCombs 5776a05a24 Merge pull request #1986 from sharkdp/dependabot/cargo/jiff-0.2.24
build(deps): bump jiff from 0.2.23 to 0.2.24
2026-05-02 00:13:21 -06:00
Thayne McCombs 2250bb0ad1 Merge pull request #1980 from sharkdp/dependabot/github_actions/softprops/action-gh-release-3.0.0
build(deps): bump softprops/action-gh-release from 2.6.1 to 3.0.0
2026-04-24 01:07:53 -06:00
Thayne McCombs a7a67e4998 Merge pull request #1889 from skane-lukas/issue-1888-fix-symlink-bash-completion
Fix symlink for bash completions
2026-04-24 01:00:42 -06:00
Thayne McCombs a86e16baa8 docs: Add policy for comments
Specify that comments on PRs should be written by humans
2026-04-23 01:07:42 -06:00
Thayne McCombs 0a3a485bd7 Merge pull request #1967 from tmccombs/pr-expectations
docs: Add PR Expectations
2026-04-23 00:58:15 -06:00
Thayne McCombs 4e2c81277a Merge pull request #1975 from SAY-5/fix/pattern-path-separator-v2
fix: flag any pattern containing a path separator, not just ones naming a directory
2026-04-23 00:36:23 -06:00
Thayne McCombs 4f4900b197 test: Fix included files
Fix test_pattern_with_forward_slash_allowed_with_full_path to include
all expected search results.
2026-04-21 01:08:17 -06:00
Thayne McCombs 0e74d5b75d Merge pull request #1979 from YoshKoz/fix/pwsh-placeholder-docs
docs: document PowerShell placeholder quoting requirement
2026-04-20 20:19:56 -06:00
Thayne McCombs 90e73d72df Merge pull request #1959 from tmchow/osc/1958-ignore-parent
feat: add --ignore-parent option to override --no-ignore-parent
2026-04-16 13:03:00 -06:00
Thayne McCombs 749ea313f6 docs: Add PR Expectations
Add expectations for making pull requests to CONTRIBUTING.md

My main objective is to try to discourage low-effort AI generated pull
requests. But I realized several of the guidelines were actually more
general, so made the section as a whole more general.
2026-04-14 00:52:15 -06:00
Thayne McCombs a665a3bba9 Merge pull request #1953 from Rohan5commit/docs-macos-comment-20260404
docs: fix macOS spelling in BSD ls comment
2026-04-03 23:44:14 -06:00
Thayne McCombs 607ae385f6 Merge pull request #1950 from sharkdp/dependabot/cargo/tempfile-3.27.0
build(deps): bump tempfile from 3.26.0 to 3.27.0
2026-04-03 00:45:52 -06:00
Thayne McCombs 866ba9bfd5 Merge pull request #1951 from sharkdp/dependabot/cargo/clap_complete-4.6.0
build(deps): bump clap_complete from 4.5.66 to 4.6.0
2026-04-02 01:24:27 -06:00
Thayne McCombs 2f6a2a88c5 Merge pull request #1952 from sharkdp/dependabot/cargo/clap-4.6.0
build(deps): bump clap from 4.5.60 to 4.6.0
2026-04-02 01:23:58 -06:00
Thayne McCombs 1b66ab5d7a chore: Update os matrix
Update the versions of Windows and Mac OSes used in build matrix.

Also add back intel Mac since on the latest version that is still
supported until 2027.

Fixes: #1945
Fixes: #1918
2026-03-28 00:57:39 -06:00
Thayne McCombs 8a7ff7d438 Merge pull request #1941 from tmccombs/fix-attest
Fix attest
2026-03-25 01:08:18 -06:00
Thayne McCombs 45646e2eaf fix(ci): Remove unnecessary compression
Don't compress something that is already compressed.
2026-03-25 00:45:23 -06:00
Thayne McCombs 5008de5052 fix: correct attestation subjects
Use the original files as the source, rather than the file that is
uploaded to the artifact, as that is actually a zip file (what?)

Fixes: #1936
2026-03-25 00:45:23 -06:00
Thayne McCombs 9d137d358d Merge pull request #1940 from sharkdp/dependabot/github_actions/softprops/action-gh-release-2.6.1
build(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1
2026-03-23 14:08:37 -07:00
Thayne McCombs 0336452b96 Merge pull request #1934 from Rohan5commit/docs/fix-contributing-intro-20260319
Fix CONTRIBUTING introduction grammar
2026-03-18 22:21:52 -07:00
Thayne McCombs dc9c503c7d refactor: Rename cwd as full_path_base
Because I think it makes it's intention more clear.
2026-03-17 00:53:34 -06:00
Thayne McCombs cd4fd03fa0 refactor: Avoid unnecessary allocation
Use Cow::borrowed, if we can re-use the already absolute path.
2026-03-17 00:53:34 -06:00
Thayne McCombs fcd846651b Merge pull request #1921 from rexkirshner/fix-exclude-value-name-glob
Change --exclude value name from 'pattern' to 'glob'
2026-03-17 00:17:24 -06:00
Thayne McCombs 6d77799759 Merge pull request #1917 from Xavrir/issue-1900
fix: handle invalid working directories gracefully with --full-path
2026-03-16 02:36:16 -06:00