ignore: fix false positive in path_is_symlink

This commit fixes a bug where the first path always reported itself as
as symlink via `path_is_symlink`.

Part of this fix includes updating walkdir to 2.2.1, which also includes
a corresponding bug fix.

Fixes #984
This commit is contained in:
Andrew Gallant
2018-08-21 21:58:27 -04:00
parent 5c80e4adb6
commit 2f3dbf5fee
5 changed files with 64 additions and 29 deletions

View File

@@ -66,6 +66,8 @@ Bug fixes:
Color escape sequences are no longer emitted for empty matches.
* [BUG #940](https://github.com/BurntSushi/ripgrep/issues/940):
Context from the `--passthru` flag should not impact process exit status.
* [BUG #984](https://github.com/BurntSushi/ripgrep/issues/984):
Fixes bug in `ignore` crate where first path was always treated as a symlink.
* [BUG #1013](https://github.com/BurntSushi/ripgrep/issues/1013):
Add compile time and runtime CPU features to `--version` output.