diff options
author | Thayne McCombs <astrothayne@gmail.com> | 2024-03-13 23:46:30 -0600 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2024-04-30 15:56:12 +0200 |
commit | 6af8f092ee20f23b4d3cd891be8b77068284d9a8 (patch) | |
tree | 8510c44e624533d2bdde9a248d72163246fa20b0 /src | |
parent | c4094c7a05e5464b92d779f8116dba98a280dd28 (diff) |
Workaround for bug with gitinored files
This is a workaround for
https://github.com/BurntSushi/ripgrep/issues/2711
Fixes: #1461
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -642,7 +642,7 @@ impl Opts { } else if !self.search_path.is_empty() { &self.search_path } else { - let current_directory = Path::new("."); + let current_directory = Path::new("./"); ensure_current_directory_exists(current_directory)?; return Ok(vec![self.normalize_path(current_directory)]); }; |