Commit Graph

1000 Commits

Author SHA1 Message Date
Tavian Barnes
476d404938
Merge pull request #817 from will459/add_no_ignore_parent
Add --no-ignore-parent flag
2021-09-01 13:22:01 -04:00
William Correia
43f5c8adc9
Add tests for --no-ignore-parent 2021-08-31 18:04:42 -04:00
Vukašin Stepanović
c749c95136 Merge branch 'master' into pr/opposing-options 2021-08-23 15:55:17 +02:00
Vukašin Stepanović
3ebd78cf02 Use overrides_with to clean up opposing arg logic 2021-08-23 15:44:11 +02:00
Vukašin Stepanović
8da936abd8 Merge branch 'pr/opposing-options' of https://github.com/Asha20/fd into pr/opposing-options 2021-08-23 15:28:45 +02:00
Vukašin Stepanović
668af05dca Add opposing options to manpage 2021-08-23 15:27:52 +02:00
David Peter
3ba90dd768 Remove --lib option 2021-08-22 16:06:04 +02:00
David Peter
87caef9513 Use --locked for cargo, enable 'cargo fmt' check 2021-08-22 16:06:04 +02:00
Thayne McCombs
78e21395b8 Make list of ignore files for --no-ignore more explicit 2021-08-15 12:52:10 +02:00
Thayne McCombs
1b52948e42 Add better documentation of vcs-ignore files.
Explicitly list which files are used for gitignore.

Fixes #354
2021-08-15 12:52:10 +02:00
Asha20
334488cab7
Add -q/--quiet/--has-match flag (#813)
Instead of printing to stdout, the program will return 1 as the exit
code if there are no matches and 0 otherwise.
2021-08-14 17:57:01 +02:00
a1346054
1c72f80ff5 fix whitespace 2021-08-14 16:21:02 +02:00
a1346054
5b4869a940 fix spelling 2021-08-14 16:21:02 +02:00
Thayne McCombs
9bc8fabba0 Update Cargo.lock 2021-08-11 01:48:42 -06:00
Thayne McCombs
8984e57dd6 Merge branch 'master' into pr/opposing-options 2021-08-11 01:44:51 -06:00
Thayne McCombs
049232439a Add item to CHANGELOG for no buffer with single thread 2021-08-11 09:38:55 +02:00
Thayne McCombs
e4730603d0 Address feedback for removing buffering when running on a single thread 2021-08-11 09:38:55 +02:00
Max Triano
154cd6e329 Clarifying comments 2021-08-11 09:38:55 +02:00
Max Triano
394e967b5f No buffering cmd output when running on 1 thread 2021-08-11 09:38:55 +02:00
Max Triano
0f0fa76c81 Just trying some things out, initial functionality 2021-08-11 09:38:55 +02:00
Thayne McCombs
1795e0e9dd Add documentation and examples of ** in glob mode
And how it should be used with the `--full-path` option.

Fixes #764.
2021-08-10 20:53:56 +02:00
Thayne McCombs
500f404c4f Mention make as a build dependency.
Fixes #743
2021-08-10 20:41:02 +02:00
Klim Tsoutsman
6a18b36037
Support --list-details on more platforms
Implement `--list-details` by using short options for `ls` to support more platforms (like BusyBox)

closes #783
2021-08-10 20:39:10 +02:00
Thayne McCombs
115ae93df9 Refactor file types check to be on impl of FileTypes
Relates to #382
2021-08-10 20:30:23 +02:00
David Peter
c06c9952b6 Add pemistahl as a maintainer 2021-08-09 23:06:00 +02:00
Peter Newman
42dce35dd7 Drop the 18.04 runs entirely 2021-08-09 16:48:06 +02:00
Peter Newman
c2e4be3d12 Add 20.04 Ubuntu builds 2021-08-09 16:48:06 +02:00
Vukašin Stepanović
37852aa388 Add 5 opposing CLI options
Those are:
  - `--no-hidden`, which overrides `--hidden`
  - `--ignore`, which overrides `--no-ignore`
  - `--ignore-vcs`, which overrides `--no-ignore-vcs`
  - `--no-follow`, which overrides `--follow`
  - `--relative-path`, which overrides `--absolute-path`
2021-08-09 15:49:48 +02:00
Sean Joseph
25d7c4801f Changed to better whole word example 2021-08-09 13:42:45 +02:00
Sean Joseph
d34e18a58c Added example for searching exactly a filename 2021-08-09 13:42:45 +02:00
Jacob Mischka
ba60a163fe Use local times for time functions
This patch uses Chrono for explicit date or datetime parsing, only using
humantime for its relative time parsing. The following formats are accepted:

1. Full RFC3339 parsing, requiring an explicit timezone
2. `YY-MM-DD`, defaulting to time `00:00:00` for the given date in the
   local time zone
3. `YY-MM-DD HH:MM:SS` in the local time zone

Fixes #631, #794
2021-08-09 13:40:55 +02:00
himself65
4e04d13215 Fix return out of match pattern 2021-08-09 13:36:09 +02:00
David Peter
c37592b0b7 Add tavianator as a maintainer 2021-08-09 07:34:26 +02:00
David Peter
224b7f2354 Silence wrong clippy warning 2021-08-08 23:48:20 +02:00
William Correia
f8ae334ca9
Add --no-ignore-parent flag
- Flag toggles parent checking in the `ignore` crate.  This should
  affect both git and non-git ignore files.
- Updated Changelog.
2021-08-08 17:38:24 -04:00
David Peter
b5344dac30 Improve -x/-X help text and man page description
closes #605
2021-08-08 22:58:13 +02:00
David Peter
018556a367 Add CHANGELOG entries 2021-08-08 15:04:28 +02:00
David Peter
aeff525c30 Attempt to fix #365 2021-08-08 15:02:01 +02:00
David Peter
2d398dc4a7 Fix directory-existence check on Windows
This fixes a bug on Windows where `fd` could not be used on ram disks
and encrypted folders.

closes #752
2021-08-08 15:02:01 +02:00
David Peter
6e44828cc8 Add CHANGELOG entry 2021-08-08 13:13:58 +02:00
David Peter
b507449146 Handle IO errors based on type, closes #737 2021-08-08 13:10:16 +02:00
David Peter
d9697d1486 Make the path-separator check Windows-only 2021-08-08 13:03:31 +02:00
David Peter
515e0ee469 Do not use .clone() 2021-08-08 13:03:31 +02:00
David Peter
a0ca460901 Adjust error message 2021-08-08 13:03:31 +02:00
Kaleb Olson
693325bcf2 Adds path separator checking and hint for automatic / expansion for some windows shells, eg., msys 2021-08-08 13:03:31 +02:00
dependabot[bot]
ab81cad3b5 Bump regex from 1.4.6 to 1.5.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.6 to 1.5.4.
- [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.4.6...1.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 12:14:50 +02:00
dependabot[bot]
70850629e9 Bump globset from 0.4.6 to 0.4.8
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.6 to 0.4.8.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.6...globset-0.4.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 12:14:41 +02:00
dependabot[bot]
8b0db189a1 Bump ctrlc from 3.1.7 to 3.1.9
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc) from 3.1.7 to 3.1.9.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases)
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.1.7...3.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:48:54 +02:00
dependabot[bot]
ad1b267601 Bump filetime from 0.2.13 to 0.2.14
Bumps [filetime](https://github.com/alexcrichton/filetime) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/alexcrichton/filetime/releases)
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.13...0.2.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:48:47 +02:00
dependabot[bot]
04829c287d Bump anyhow from 1.0.35 to 1.0.42
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.35 to 1.0.42.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.35...1.0.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 11:43:15 +02:00