2011 Commits

Author SHA1 Message Date
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
Thayne McCombs db7d448fd4 Merge pull request #1924 from liruiluo/docs/clarify-exec-arg-boundary
docs: clarify how --exec consumes positional arguments
2026-03-13 20:41:09 -06:00
liruiluo 2278836060 docs: clarify --exec positional argument handling 2026-03-14 09:16:22 +08:00
Rex Kirshner 37f3c2e6cb Change --exclude value name from "pattern" to "glob"
The summary line `-E, --exclude <pattern>` is misleading because fd
defaults to regex for its main search pattern, but --exclude takes a
glob. Rename the value placeholder to "glob" in the CLI help, man page,
and README to match the actual behavior.

Fixes #1724

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 09:03:56 -07:00
Rizky Mirzaviandy Priambodo 807aa11d03 chore: remove unrelated planning files 2026-03-11 22:11:40 +07:00
Rizky Mirzaviandy Priambodo 647ced8ff0 fix: address review comments - use into_os_string() and move changelog to unreleased section 2026-03-11 22:11:26 +07:00
Rizky Mirzaviandy Priambodo 26756f21fa refactor: cache cwd at startup instead of per-entry resolution
Instead of calling current_dir() for every entry when --full-path is
set, cache it once in Config at startup. This eliminates the need for
FatalError handling and makes path resolution infallible during the
walk. If the cwd can't be retrieved, fd now fails early with a clear
error message.
2026-03-10 20:34:38 +07:00
Rizky Mirzaviandy Priambodo 24f7f2b9ef ci: retrigger workflow for second validation pass 2026-03-10 20:28:12 +07:00
Rizky Mirzaviandy Priambodo d3a500af7a fix: handle invalid working directories gracefully with --full-path (#1900)
- Add FatalError variant to WorkerResult for unrecoverable errors
- Extract search_str_for_entry() helper to propagate IO errors from path_absolute_form
- Propagate fatal errors through job and batch execution paths
- Add regression test for invalid cwd scenario
- Update CHANGELOG for #1900
2026-03-10 20:28:12 +07:00
Thayne McCombs 7027d45303 Merge pull request #1916 from tmccombs/release-v10.4.2
chore: Bump to 10.4.2
v10.4.2
2026-03-10 01:32:25 -06:00
Thayne McCombs bf6489a79b chore: Bump to 10.4.2 2026-03-09 01:56:38 -06:00
Thayne McCombs 160d00f8fe Add a little more automation for the release
Add an awk script for automatically updating the help
text in README.md
2026-03-09 01:52:08 -06:00
Thayne McCombs cb3fad48bb Merge pull request #1914 from tmccombs/faster-ignore-contains
perf: Avoid unnecessary syscall for ignore-contain
2026-03-08 19:44:38 -06:00
Thayne McCombs a4d86cc1f5 perf: Avoid unnecessary syscall for ignore-contain
Instead of calling `is_dir` on the path, call it on the file_type of the
DirEntry, since we should already have that information without needing
to do another syscall.

Fixes: #1913
2026-03-08 17:09:39 -06:00
Tavian Barnes b691572928 Merge pull request #1912 from tmccombs/changelog-bump
Add upcoming to changelog
2026-03-08 07:58:54 -04:00
Thayne McCombs ec25d2bc81 Add upcoming to changelog 2026-03-08 03:09:13 -06:00
Thayne McCombs 4ea110d8dd Merge pull request #1911 from tmccombs/release-10.4.1
Prepare 10.4.1 release
v10.4.1
2026-03-08 01:38:40 -07:00
Thayne McCombs d766e76351 Prepare 10.4.1 release 2026-03-08 01:02:24 -07:00
Thayne McCombs aa35ef4e45 Merge pull request #1904 from tmccombs/fix-deploy
fix(build): Fix attestation
2026-03-07 12:38:21 -07:00
Thayne McCombs b87d919244 fix(build): Remove extra colons 2026-03-07 11:55:38 -07:00
Thayne McCombs bb3d57c433 fix(build): Fix attestation
Use the right output in the github action.

Also pin the versions of the upload-artifact and attest actions.
2026-03-07 01:34:30 -07:00
Thayne McCombs ff1f66cceb Merge pull request #1901 from sharkdp/dependabot/github_actions/actions/attest-build-provenance-4
build(deps): bump actions/attest-build-provenance from 3 to 4
v10.4.0
2026-03-06 20:20:54 -07:00
dependabot[bot] d9fc3272db build(deps): bump actions/attest-build-provenance from 3 to 4
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 3 to 4.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 17:43:08 +00:00
skane-lukas 247a5172e5 Fix completions for alias fdfind in deb package for bash, zsh and fish.
Closes #1888
2026-03-03 08:38:53 +01:00
Thayne McCombs c60d0076db Merge pull request #1893 from tmccombs/release-10.4.0
chore(release): Prepare for 10.4.0
2026-03-01 11:45:20 -07:00
Thayne McCombs 801ccd7620 chore(release): Prepare for 10.4.0 2026-02-28 23:31:48 -07:00
Thayne McCombs a07ad51751 Merge pull request #1891 from FidelSch/c-static-link
config: statically link C runtime for Windows MSVC
2026-02-24 10:51:08 -07:00
FidelSch 6067f72742 docs: update changelog to include static linking of CRT for MSVC builds 2026-02-24 10:18:59 -03:00
FidelSch 73e6f95416 config: static linking of C runtime on Windows MSVC 2026-02-24 10:13:42 -03:00
Thayne McCombs 40d8eb30bc Merge pull request #1861 from tmccombs/faster-dev-compile
build: Reduce debug info for dev builds
2026-02-02 19:02:50 -07:00
Thayne McCombs 38986aa42c Merge pull request #1881 from sharkdp/dependabot/cargo/jiff-0.2.18
build(deps): bump jiff from 0.2.17 to 0.2.18
2026-02-01 22:23:48 -07:00
dependabot[bot] 171438be2d build(deps): bump jiff from 0.2.17 to 0.2.18
Bumps [jiff](https://github.com/BurntSushi/jiff) from 0.2.17 to 0.2.18.
- [Release notes](https://github.com/BurntSushi/jiff/releases)
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/jiff/compare/jiff-static-0.2.17...jiff-static-0.2.18)

---
updated-dependencies:
- dependency-name: jiff
  dependency-version: 0.2.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 23:34:19 +00:00
Thayne McCombs fe0e173e9e Merge pull request #1880 from sharkdp/dependabot/cargo/filetime-0.2.27
build(deps): bump filetime from 0.2.26 to 0.2.27
2026-02-01 16:31:38 -07:00
Thayne McCombs 9a9c4b921d Merge pull request #1882 from sharkdp/dependabot/cargo/nix-0.31.1
build(deps): bump nix from 0.30.1 to 0.31.1
2026-02-01 16:31:11 -07:00
Thayne McCombs efd9f05fcb Merge pull request #1879 from sharkdp/dependabot/cargo/libc-0.2.180
build(deps): bump libc from 0.2.178 to 0.2.180
2026-02-01 16:29:14 -07:00
Thayne McCombs ccafbbb08a Merge pull request #1878 from sharkdp/dependabot/cargo/clap-4.5.54
build(deps): bump clap from 4.5.53 to 4.5.54
2026-02-01 16:27:17 -07:00
dependabot[bot] 74c389f847 build(deps): bump nix from 0.30.1 to 0.31.1
Bumps [nix](https://github.com/nix-rust/nix) from 0.30.1 to 0.31.1.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.30.1...v0.31.1)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 17:42:47 +00:00
dependabot[bot] 2fc76da442 build(deps): bump filetime from 0.2.26 to 0.2.27
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.26 to 0.2.27.
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.26...0.2.27)

---
updated-dependencies:
- dependency-name: filetime
  dependency-version: 0.2.27
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 17:42:36 +00:00
dependabot[bot] b22a46c103 build(deps): bump libc from 0.2.178 to 0.2.180
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.178 to 0.2.180.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.180/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.178...0.2.180)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.180
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 17:42:28 +00:00
dependabot[bot] 1586dabeee build(deps): bump clap from 4.5.53 to 4.5.54
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.53 to 4.5.54.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.53...clap_complete-v4.5.54)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.54
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 17:42:21 +00:00
Thayne McCombs 0a094a883f Merge pull request #1877 from littleKitchen/docs/update-completions-readme
docs: update shell completions instructions in README
2026-01-30 08:46:50 -07:00
Yuxuan Che 4410dda6e4 docs: add shell completion generation instructions
Add documentation for generating completions using fd --gen-completions,
while keeping and clarifying the existing instructions for pre-built
completions from release archives.

- Clarify that pre-built completions are in release archives (autocomplete dir)
- Add new section for generating completions with fd --gen-completions
- Include examples for bash, zsh, fish, and powershell
2026-01-29 21:33:12 -08:00
Thayne McCombs bf81fb98fa Merge pull request #1852 from fischman/1727-ignore-contain
`--ignore-contain`: ignore directories containing a named entry.
2026-01-20 00:48:43 -07:00
Thayne McCombs 9508153471 Merge pull request #1862 from jylenhof/master
docs(README): add mise alternative method installation
2026-01-20 00:42:34 -07:00
Thayne McCombs 1a37650b2c Merge pull request #1872 from josephadamsdev/fix-1843-windows-hyperlink-slash
Fix Windows hyperlinks for paths with spaces
2026-01-16 09:04:56 -07:00
Joseph Adams dcc5ff84cd Update CHANGELOG.md 2026-01-16 10:44:01 +01:00
Joseph Adams 9c9eeda209 Update CHANGELOG.md 2026-01-16 10:38:42 +01:00
Joseph Adams 4ba10c7837 Add changelog entry for Windows hyperlink fix 2026-01-16 10:37:21 +01:00