Commit graph

109 commits

Author SHA1 Message Date
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
Sijmen
a5f69579cf Update CHANGELOG 2022-08-10 20:01:21 +02:00
David Peter
33beb7fc64 Bump version 2022-05-29 11:21:45 +02:00
David Peter
8b96a1e99c Update documentation of --batch-size feature 2022-05-28 22:59:46 +02:00
David Peter
f52dec11a4 Update CHANGELOG 2022-05-28 22:50:04 +02:00
David Peter
41affe18c4 Merge remote-tracking branch 'origin/master' into yyogo/master 2022-05-15 16:31:06 +02:00
David Peter
dcde6d358f Add CHANGELOG entry for multi exec 2022-05-15 16:26:44 +02:00
Jackson Theel
f823eac672 Update CHANGELOG.md 2022-05-15 16:22:24 +02:00
ethsol
bbd8c78861 Added installation instructions for RHEL8 2022-04-02 20:55:08 +02:00
ethsol
9d93807512 modification skeleton 2022-04-02 20:55:08 +02:00
Thayne McCombs
50c0fa812f
Merge branch 'master' into master 2022-03-15 01:20:35 -06:00
David Peter
c48d02e0a9 Bump version to v8.3.2 2022-01-29 16:49:09 +01:00
David Peter
ec38e23d58 Add CHANGELOG entry 2022-01-07 17:39:24 +01:00
David Peter
72895675ef Bump version to v8.3.1 2022-01-06 14:20:02 +01:00
David Peter
aa1c0250b7 Update CHANGELOG 2022-01-06 13:59:04 +01:00
Thayne McCombs
dade9736ac Add entry to changelog for no-ignore-vcs fix
I forgot to add it when I made the PR.

See commit 8bdbbd8e0cbe8ba010ce5c7f863e23af44386741
2021-12-28 14:20:25 +01:00
Jonathan Goren
22dbed0545 convert to path instead of cloning in batch exec
update changelog
2021-12-11 15:43:53 +02:00