summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThayne McCombs <astrothayne@gmail.com>2024-03-13 23:46:30 -0600
committerDavid Peter <sharkdp@users.noreply.github.com>2024-04-30 15:56:12 +0200
commit6af8f092ee20f23b4d3cd891be8b77068284d9a8 (patch)
tree8510c44e624533d2bdde9a248d72163246fa20b0 /src
parentc4094c7a05e5464b92d779f8116dba98a280dd28 (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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 746773a..124b949 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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)]);
};