Commit Graph

1222 Commits

Author SHA1 Message Date
John Purnell
f3e6536d59
Add flag --no-require-git to man page
#1216 omitted to add the flag to the man page.
2023-02-26 11:41:19 +13:00
Tavian Barnes
002645d7ac
Merge pull request #1262 from tmccombs/upcoming-changes
Add upcoming changes to changelog
2023-02-24 08:57:02 -05:00
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
David Peter
3cf5ac0b9a
Merge pull request #1256 from sitiom/patch-1
Add Winget installation reference
2023-02-04 08:51:38 +01:00
sitiom
a217823510
Add Winget installation reference 2023-02-04 10:51:47 +08:00
David Peter
73a693ef28
Merge pull request #1244 from tmccombs/grouped-occurrences
update: Update to clap 4.1
2023-02-01 21:36:19 +01:00
David Peter
9955e20d01
Merge pull request #1253 from sharkdp/dependabot/cargo/nix-0.26.2
Bump nix from 0.25.0 to 0.26.2
2023-02-01 21:35:47 +01:00
David Peter
03052757a7
Merge pull request #1252 from sharkdp/dependabot/cargo/regex-1.7.1
Bump regex from 1.7.0 to 1.7.1
2023-02-01 21:35:39 +01:00
dependabot[bot]
bdcc24ed04
Bump nix from 0.25.0 to 0.26.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:02:24 +00:00
dependabot[bot]
8478a2c7eb
Bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 17:02:07 +00:00
Thayne McCombs
c34bfa30fe chore: Update MSRV to 1.64.0
To match clap 4.1
2023-01-18 23:00:03 -07:00
David Peter
af9daff4ee
Merge pull request #1216 from vegerot/pr1216
Add flag --no-require-git to always respect gitignore files
2023-01-17 14:37:14 +01:00
Thayne McCombs
10ba34f78b update: Update to clap 4.1
This includes switching to the stable API for getting values grouped by
occurrences, and updating tests to match the new error messages.
2023-01-17 00:17:50 -07:00
Thayne McCombs
503ede7535
Merge pull request #1212 from sharkdp/global-ignore-test
Add tests for global ignore file
2023-01-16 00:55:30 -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
ab7d5eff87
Merge pull request #1220 from sharkdp/dependabot/cargo/regex-syntax-0.6.28
Bump regex-syntax from 0.6.27 to 0.6.28
2023-01-01 23:59:16 -07:00
Thayne McCombs
686318c005
Merge pull request #1221 from sharkdp/dependabot/cargo/nix-0.25.0
Bump nix from 0.24.2 to 0.25.0
2023-01-01 11:04:58 -07:00
Thayne McCombs
c04ab74744
Merge pull request #1219 from sharkdp/dependabot/cargo/anyhow-1.0.68
Bump anyhow from 1.0.66 to 1.0.68
2023-01-01 10:50:37 -07:00
Thayne McCombs
8fdfc6c2ef
Merge pull request #1222 from sharkdp/dependabot/cargo/once_cell-1.17.0
Bump once_cell from 1.15.0 to 1.17.0
2023-01-01 10:50:06 -07:00
dependabot[bot]
71393fa1be
Bump regex-syntax from 0.6.27 to 0.6.28
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.6.27 to 0.6.28.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/commits)

---
updated-dependencies:
- dependency-name: regex-syntax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 17:49:30 +00:00
Thayne McCombs
5e50825af2
Merge pull request #1223 from sharkdp/dependabot/cargo/num_cpus-1.15.0
Bump num_cpus from 1.13.1 to 1.15.0
2023-01-01 10:48:42 -07:00
dependabot[bot]
8fed650de9
Bump num_cpus from 1.13.1 to 1.15.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.13.1 to 1.15.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.1...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 17:01:46 +00:00
dependabot[bot]
4d8569ad6b
Bump once_cell from 1.15.0 to 1.17.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 17:01:40 +00:00
dependabot[bot]
2f0677b556
Bump nix from 0.24.2 to 0.25.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.2...v0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 17:01:35 +00:00
dependabot[bot]
0a8a72d4f3
Bump anyhow from 1.0.66 to 1.0.68
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.66 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.66...1.0.68)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 17:01:23 +00:00
David Peter
de611c8835
Merge pull request #1217 from tmccombs/skip-executable-test-if-root
Skip an executable test if running as root
2022-12-29 14:16:01 +01:00
Thayne McCombs
a36f2cf61c Skip an executable test if running as root
Fixes #1214
2022-12-28 23:28:41 -07:00
Thayne McCombs
b6c7ebc4f1 Don't test global ignore file on windows
Becase XDG_CONFIG_HOME doesn't work there.
2022-12-18 23:33:32 -07:00
Thayne McCombs
fd707b42c2 Add tests for global ignore file 2022-12-18 00:42:54 -07:00
Thayne McCombs
7c86c7d585
Merge pull request #1211 from tmccombs/fix-global-ignore
Fix logic for when to read global ignore file
2022-12-17 11:46:18 -07:00
Thayne McCombs
27013537c9 Fix logic for when to read global ignore file
Fixes #1209
2022-12-17 00:28:47 -07:00
David Peter
addf00cb16
Merge pull request #1206 from tmccombs/upstream-changes-pr
Add Upcoming release to changelog
2022-12-09 09:06:39 +01: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
8ecfdfee43
Merge pull request #1171 from tmccombs/clap-derive-comments
Use docstrings for long help in clap derive
2022-12-06 22:40:36 +01:00
Thayne McCombs
b7a2f68d59 Mention --changed-after alias in long help 2022-12-06 01:28:15 -07:00
Thayne McCombs
e98a6c6755 Use docstrings for long help in clap derive 2022-12-06 01:28:15 -07:00
David Peter
614e637dbc
Merge pull request #1200 from tmccombs/more-resilient-full-path-tests
Change full path tests to be more resilient
2022-12-05 09:55:36 +01:00
Thayne McCombs
7ec795cd57 Change full-path tests to work on windows as well 2022-12-03 22:30:32 -07:00
Tavian Barnes
8f510265fc
Merge pull request #1191 from sharkdp/chrono-without-time
Remove time from transitive dependencies of chrono
2022-12-03 09:57:44 -05:00
Thayne McCombs
39d80a59b6 Remove time from transitive dependencies of chrono
Because chrono was depending on an older version of time, and we don't
actually need it with recent versions of chrono.

Relates-To: #1188
Alernative-To: #1190
2022-12-03 01:28:17 -07:00
Tavian Barnes
6e3eb26af3
Merge pull request #1192 from tmccombs/ansi-term-deprecated
Use nu-ansi-term instead of ansi-term
2022-12-02 09:07:43 -05:00
Thayne McCombs
4a66d8fcd8
Merge pull request #1195 from sharkdp/dependabot/cargo/clap_complete-4.0.6
Bump clap_complete from 4.0.5 to 4.0.6
2022-12-01 23:58:17 -07:00
Thayne McCombs
daa986ea35
Merge pull request #1196 from sharkdp/dependabot/cargo/libc-0.2.137
Bump libc from 0.2.136 to 0.2.137
2022-12-01 23:56:15 -07:00
Thayne McCombs
0a575763a1 Change full path tests to be more resilient
Use patterns that won't conflict with randomly generated portion of
temporary directory

Fixes: #1181
2022-12-01 22:02:19 -07:00
dependabot[bot]
547d08c1ef
Bump libc from 0.2.136 to 0.2.137
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.136 to 0.2.137.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.136...0.2.137)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 04:57:40 +00:00
Thayne McCombs
bbd66b3240
Merge pull request #1199 from sharkdp/dependabot/cargo/regex-1.7.0
Bump regex from 1.6.0 to 1.7.0
2022-12-01 21:53:19 -07:00
dependabot[bot]
2ddc2f6c18
Bump regex from 1.6.0 to 1.7.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 17:02:43 +00:00
dependabot[bot]
58a9dde73f
Bump clap_complete from 4.0.5 to 4.0.6
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.0.5 to 4.0.6.
- [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.0.5...clap_complete-v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 17:01:56 +00:00