Tavian Barnes
66e3ccc5e1
Don't color each path component separately
...
It can be expensive to color each path component separately, requiring a
stat() call on each component. For deep hierarchies this can result in
quadratic overhead. Instead, just color the path up to the basename as
a directory.
Fixes #720 .
2021-11-14 17:42:16 +01:00
David Peter
21fd013073
Improve --full-path documentation, closes #839
2021-11-14 17:16:44 +01:00
David Peter
a539181f1f
Merge pull request #822 from Asha20/pr/opposing-options
...
Add opposing CLI options
2021-11-14 16:55:13 +01:00
David Peter
cdc6a37ed6
Merge remote-tracking branch 'origin/master' into pr/opposing-options
2021-11-14 16:47:53 +01:00
David Peter
2570fbd04e
Add longer help text for --prune, closes #727
2021-11-14 16:29:10 +01:00
David Peter
690976380d
Add section concerning aliases, shell functions
...
closes #870
2021-11-14 16:21:26 +01:00
David Peter
828649a30d
Revert "Add pemistahl as a maintainer"
...
This reverts commit c06c9952b6
.
2021-11-14 13:58:57 +01:00
Tavian Barnes
20dc7a984d
Merge pull request #881 from cgjosephlee/master
...
fix zsh completion
2021-11-12 09:45:53 -05:00
Joseph Lee
653bc0e55d
fix zsh completion
2021-11-11 23:30:01 +08:00
Tavian Barnes
e8fe1508e2
Merge pull request #878 from sharkdp/bug-form
...
Change bug_report from an issue template to an issue form
2021-11-03 11:34:24 -04:00
Thayne McCombs
fd493eb709
Change bug_report from an issue template to an issue form
2021-11-03 02:33:46 -06:00
Tavian Barnes
f1b39d49c1
Merge pull request #877 from tmccombs/dep-update
...
Update some dependencies
2021-11-02 22:12:43 -04:00
Thayne McCombs
1236b1dbcf
Update some dependencies
...
Combination of dependabot prs.
2021-11-01 22:41:56 -06:00
Devon Hollowood
17dd2a6dfe
Implement --batch-size
( #866 )
2021-10-22 00:05:13 -06:00
Tavian Barnes
7b5b3ec47b
walk: Add a cache for DirEntry metadata
2021-10-13 09:13:44 +02:00
Niklas Mohrin
02e9850112
Refactor: Rename Options
to Config
2021-10-12 18:49:07 +02:00
Niklas Mohrin
b8c575cc8f
Refactor: extract some methods out of run
and reorder main.rs
...
Now, the top method is `main`, then comes `run`, then the methods used
in `run` follow. Generally, a method is always declared somewhere after
its first use. This way, you can read the file from top to bottom with
a decreasing level of abstraction (you start with very high-level
processes like setting the current dir and logic for which ls command to
use only comes furher down).
2021-10-12 18:49:07 +02:00
Niklas Mohrin
3de948ae0d
Refactor: use some nice Rust methods in buffering code
2021-10-12 18:49:07 +02:00
Niklas Mohrin
45a86459b2
Refactor: merge_exit_codes
now takes an impl IntoIterator<Item = ExitCode>
...
This way, callers don't need to collect into a slice / vec.
2021-10-12 18:49:07 +02:00
Niklas Mohrin
a64a607fd8
Bump MSRV to 1.53
2021-10-12 18:49:07 +02:00
Thayne McCombs
00eb6461cb
Remove an unnecessary reference. ( #864 )
...
This was caught by Code Quality github action with the message:
> this expression borrows a reference (`&walk::DirEntry`) that is immediately dereferenced by the compiler
2021-10-12 00:46:15 -06:00
dependabot[bot]
feb969881b
Bump libc from 0.2.101 to 0.2.103
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.101 to 0.2.103.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.103 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 22:49:44 +02:00
dependabot[bot]
c06efe1317
Bump anyhow from 1.0.43 to 1.0.44
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 22:49:38 +02:00
Tavian Barnes
04fac46c5c
Merge pull request #857 from exploide/short-help-completion
...
Added missing help messages to various options
2021-10-07 12:52:31 -04:00
Tavian Barnes
e0d03d170e
Merge pull request #858 from friederbluemle/fix-typo
...
Fix typos
2021-10-07 12:52:12 -04:00
Frieder Bluemle
fd1c3d376e
Fix typos
2021-10-06 18:38:50 +02:00
exploide
c3f786db43
added missing help messages to various options
...
despite they have hidden_short_help set to true, a short help message is still useful for auto-generated completions
2021-10-03 17:06:09 +02:00
Niklas Mohrin
a5f17db53a
CI: Run clippy on stable and use msrv setting in clippy.toml
2021-09-03 07:36:12 +02:00
Tavian Barnes
f1a5aa0887
Merge pull request #846 from tmccombs/dep-update
...
Update dependencies
2021-09-02 14:40:47 -04:00
Thayne McCombs
3c619afe30
Update dependencies
...
in Cargo.lock and Cargo.toml
2021-09-01 17:32:57 -06:00
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