Commit Graph

125 Commits

Author SHA1 Message Date
Thayne McCombs d90ec1758e Prepare for 10.1.0 release 2024-05-08 00:20:43 -06:00
Thayne McCombs d44badc190 Implement option for printing custom formats 2024-05-07 22:52:49 -06:00
Thayne McCombs b1f83a0bb0 feat: Add option to always include cwd prefix
Fixes: #1243
Fixes: #1331
2024-05-07 00:24:06 -06:00
Thayne McCombs 3bc70925a9 Add upcoming to changelog 2024-05-07 00:16:56 -06:00
Thayne McCombs 92fab6e058 Prepare for 10.0.0 release 2024-05-05 23:52:50 -06:00
David Peter 9279b1f0af Fix typo in CHANGELOG 2024-04-30 15:56:12 +02:00
Thayne McCombs 6647085015 Add test for gitignore workaround
And make sure it works for user-supplied path of "."

Also add changelog entry
2024-04-30 15:56:12 +02:00
Thayne McCombs e10a4eab2b Stop ignore .git folders by default
Fixes: #1457
See: #1396, #1403
2024-04-28 20:23:25 -06:00
Nathan Bellows b0a8848f68 Add support for @%s time format 2024-02-12 02:05:41 -08:00
Alexandru-Constantin Atomei 3cb6b9d93a Updated CHANGELOG.md, man page and made alias visible in fd -h too 2024-01-01 17:14:32 +02:00
Thayne McCombs 9529f30129 fix: Respect NO_COLOR with --list-details option
Fixes: #1455
2023-12-23 21:32:33 +01:00
Tavian Barnes 954a3900b9 CHANGELOG: Fix issue number typo 2023-12-19 14:04:01 -05:00
David Peter 13a93e5cbe Add new unreleased section 2023-12-19 11:42:27 +01:00
David Peter e3b40208d5 Preprations for fd 9 release 2023-12-19 11:28:59 +01:00
Tavian Barnes fea1622724 cli: Tweak default thread count logic 2023-12-18 21:55:18 +01:00
Lena ad5fb44ddc
fix: display color when NO_COLOR is an empty string 2023-11-04 15:07:10 +01:00
Thayne McCombs 5ee6365510 Set maximum default threads
Set a limit of how many threads fd will use by default. On hosts that
have a large number of cores, using additional threads has diminishing
returns, and having large numbers of threads increases the setup cost.
Thus we don't necessarily want to use the same number of threads as we
have cores.

Fixes: #1203
2023-10-26 00:48:30 -06:00
Thayne McCombs e6aa8e82f6 Add Upcoming Release to changelog 2023-10-21 14:06:52 +02:00
Thayne McCombs 3ed4ea7538
Merge pull request #1396 from skoriop/default-ignore-git-folder
feat: ignore `.git/` by default
2023-10-20 22:35:22 -06:00
Thayne McCombs 7c39fff969 Prepare for 8.7.1 release 2023-10-18 21:44:34 -06:00
Thayne McCombs b922ca18f0 A couple more updates to the changelog 2023-10-18 21:31:28 -06:00
Thayne McCombs fa01a280ed Update Changelog
This was missed
2023-10-17 23:12:30 -06:00
Thayne McCombs e6b5a4ef9d bug: Update clap to 4.4.6
This also fixes a couple of problems that are now errors:

- Remove use of unstable-grouped feature flag that no longer exists
- Fix some conflicts rules with non-existant options
  * has_results should have been quiet
  * count doesn't exist. I'm not sure where it came from

Fixes: #1397
2023-10-17 23:12:03 -06:00
skoriop 8c50bc733d docs: update `CHANGELOG.md` 2023-10-15 11:25:30 +05:30
Thayne McCombs 9f6abded0e Add upcoming changes to changelog 2023-02-24 01:27:15 -07:00
Thayne McCombs 840a565d3a Updates for 8.7.0 2023-02-24 00:14:46 -07:00
Max 👨🏽‍💻 Coplan 08c0d427bf Add flag --no-require-git to always respect gitignore files
Summary: Currently, `--ignore-vcs` only serves to unset `--no-ignore-vcs`.
There is currently no way to tell fd to respect gitignore files when not in a
git repository.  This commit adds the flag `--no-require-git` to make fd always
respect all gitignore files.

This behaves the same as the `--no-require-git` option in [ripgrep](3bb71b0cb8/crates/core/app.rs (L2214-L2226))

This commit also contains an unrelated wording fix to CONTRIBUTING.md

Test Plan: `tests/tests.rs`

Background: I am using [Sapling](https://sapling-scm.com/docs/introduction/)
for working with git repositories (including this commit ☺️).  Since Sapling
uses `.sl` instead of `.git`, tools using the `ignore` crate (rg and fd) would show gitignored files.
I made a patch (ebf17eef22)
to `ignore` to respect gitignores with _either_ `.git` or `.sl`.  However,
@BurntSushi said he did not want to merge that patch and instead suggested I
use `--no-require-git` (https://github.com/BurntSushi/ripgrep/issues/2374).
This works fine, but I couldn't use this workaround for my other favorite tool!
That's what this patch is for 😁

(a follow-up patch will add a similar `FD_CONFIG_PATH` environment variable
like `RG_CONFIG_PATH`)
2023-01-13 13:52:34 -08:00
Thayne McCombs 27013537c9 Fix logic for when to read global ignore file
Fixes #1209
2022-12-17 00:28:47 -07:00
Thayne McCombs 1964e434e6 Add Upcoming release to changelog 2022-12-09 00:19:22 -07:00
Thayne McCombs d5bca085dd Updates for 8.6.0 2022-12-08 23:41:24 -07:00
David Peter 781bd4bcf2 Add CHANGELOG entry 2022-11-21 21:08:39 +01:00
Thayne McCombs 317a0c3cd3 Add entry for changed-after alias to CHANGELOG 2022-11-20 23:23:32 -07:00
Thayne McCombs 64e642403e Use file_stem instead of file_name for command for completions
Fixes: #1177
2022-11-17 22:22:02 -07:00
David Peter 5c87ff524e Fix CHANGELOG 2022-11-15 14:15:19 +01:00
Ptipiak 88bebb8aac Using faccess lib to detect executable files
* The detection of executable files was not exactly the same as
the original find
2022-11-15 10:31:44 +01:00
Thayne McCombs 41d775bedd Updates for fd 8.5.3 2022-11-13 23:23:04 -07:00
David Peter 56c405d8e6 Updates for fd 8.5.2 2022-11-03 09:13:15 +01:00
David Peter 567ce2640f Update CHANGELOG 2022-11-02 13:48:18 +01:00
David Peter 527fe9e262 Updates for fd 8.5.1 2022-11-02 13:46:20 +01:00
David Peter c85929045e Update CHANGELOG 2022-11-01 21:36:56 +01:00
David Peter f8e832f212 Preparation for v8.5 2022-11-01 20:55:25 +01:00
David Peter bc94fcc90f Update CHANGELOG 2022-11-01 20:45:16 +01:00
David Peter c6f9595a02 Update CHANGELOG 2022-11-01 19:57:11 +01:00
Tavian Barnes 17d849df6c Compute colors in parallel 2022-10-31 22:23:30 +01:00
Tavian Barnes f0c50befce Add a changelog entry 2022-10-31 22:23:30 +01:00
Tavian Barnes 0984ed91ea Update CHANGELOG for -x/-X leading ./ change 2022-10-03 21:35:39 +02:00
David Peter 4f1bcfedf3 Update CHANGELOG 2022-09-27 21:25:10 +02:00
David Peter bd44c82404 Add CHANGELOG entry 2022-09-11 21:05:06 +02:00
David Peter c48586de08 Add CHANGELOG entry 2022-09-11 20:58:50 +02:00
Tavian Barnes cbc6ddeefc Implement --type executable on Windows
Fixes #1051.
2022-09-11 20:46:19 +02:00