9 Commits

Author SHA1 Message Date
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 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 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
rohan436 f8baea833f docs: fix CONTRIBUTING grammar 2026-03-19 09:41:50 +08: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](https://github.com/BurntSushi/ripgrep/blob/3bb71b0cb8727ac43237af78ba5c707298de0128/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 (https://github.com/vegerot/ripgrep/commit/ebf17eef22a04450ca86e9dc790db7cb00e11e52)
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
sharkdp 0a22dcc044 Add CHANGELOG section to CONTRIBUTING.md 2020-12-01 19:38:05 +01:00
sharkdp 3066445e6b Remove empty line 2020-04-03 10:36:05 +02:00
David Peter 1bf193af60 Update links to license files 2018-02-13 20:41:04 +01:00
David Peter 108fce3396 Add first version of CONTRIBUTING.md 2017-10-07 22:01:52 +02:00