Matthias Reitinger
b441528067
Improve smart case to only consider literal uppercase chars ( #103 )
2017-10-14 11:03:21 +02:00
sharkdp
8fc3a83d92
Use absolute path to perform search, fixes #81
...
Previously, we were using the relative path to extract the search
string. For the current directory, the returned relative path was equal
to `""`. This is why the current directory did not show in the search
results (see #81 ).
This commit also changes the way that `--full-path` works, which was
previously working on relative paths. It seems more useful to search the
absolute path, though. Otherwise, search results could change just by
calling fd (with a given search path) from a different directory.
2017-10-13 18:16:26 +02:00
Antti Keränen
049b9ec06b
Format the source code using rustfmt
2017-10-12 19:33:14 +02:00
J.W
e075e1cf7c
Add -i, --ignore-case
2017-10-12 07:28:05 +02:00
Rav Chandra
4f2d9e77b3
Add ripgrep aliases for no-ignore and hidden
2017-10-11 23:15:21 +02:00
Jean-Christophe Petkovich
affe41949d
Switch symlink arg from 's' to 'l' ( #83 )
...
closes #80
2017-10-09 21:25:30 +02:00
David Peter
4731dc670c
Enhanced Windows support, see #70
...
* Use easier way to convert path components
* Fix failing tests on Windows
2017-10-07 09:40:44 +02:00
Matthias Reitinger
6f22957cdc
Re-write integration tests in Rust ( #67 )
...
* Rewrite integration tests in Rust.
* Improve failure output for integration tests.
* Move TestEnv to separate module.
* Remove old integration tests script.
* Re-add integration test for subdirectory.
2017-10-04 23:19:30 +02:00
Matthias Reitinger
b0fb774c0e
Fix test suite name
2017-10-03 18:28:54 +02:00
Matthias Reitinger
83db8673cf
Add extension filtering
2017-10-03 18:28:54 +02:00
exitium
2a3dd5b631
Add file type filtering
2017-09-17 09:25:01 +02:00
sharkdp
fde8f2e8e3
Try to fix test on macOS
2017-09-09 16:42:10 +02:00
sharkdp
a790f9bd62
Remove unicode test
2017-09-09 16:26:33 +02:00
sharkdp
2d1d24c38c
Rename config parameter for print0 and fix sorting in tests
2017-08-01 22:36:38 +02:00
Michael Mior
1b0c8f349a
Add --print0 option
2017-07-19 17:10:06 -04:00
sharkdp
918e4a014a
Fix warning in tests on Linux
2017-07-02 16:01:08 +02:00
sharkdp
f5261595a7
Stabilize sort results
2017-06-15 16:12:11 +02:00
sharkdp
d8d0cf5d6e
Modify test.sh for macOS, fixes #44
2017-06-15 16:12:11 +02:00
sharkdp
3f69c0fa1a
Update test.sh script, see #44
2017-06-13 21:08:02 +02:00
sharkdp
54f33e5227
Use absolute paths if root dir is an absolute path, fixes #40
2017-06-11 20:55:01 +02:00
sharkdp
24070b0be0
Handle invalid UTF-8, fixes #34
2017-06-11 15:38:56 +02:00
sharkdp
087e709acd
Use clap, change --sensitive to --case-sensitive
...
see #33
2017-06-11 14:25:58 +02:00
sharkdp
8adb5b9f84
Add option to print absolute paths, closes #10
2017-06-05 21:18:27 +02:00
sharkdp
634016b9a0
Add optional second argument, closes #5
2017-06-05 16:25:13 +02:00
sharkdp
d29115b4da
Change .gitignore to .ignore
2017-05-28 19:35:27 +02:00
sharkdp
0757a50c31
Add more unit tests, search directories and symlinks too
2017-05-24 22:16:55 +02:00
sharkdp
10cd964c1d
Add simple integration tests
2017-05-23 00:34:27 +02:00