aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1a41001..775dfae 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,7 +50,7 @@ fn main() {
process::exit(exitcode::OK);
}
- let repo = match Repository::open(".") {
+ let repo = match Repository::open_from_env() {
Ok(r) => r,
Err(e) => {
eprintln(&format!("unable to open repository: {}", e));