From e7d1bd377a7b43cb2392751dd4e6e954c2bc875b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 17 Sep 2020 00:04:06 +0200 Subject: main.rs: Accept a ref as a command line argument If a ref is given on the command line, use that as the diff base. Otherwise default to master. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 834bb4c..69bbb52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,7 @@ version = "0.0.1" edition = "2018" [dependencies] +exitcode = "1.1.2" +getopts = "0.2.21" git2 = "0.13.11" thiserror = "1.0.20" -- cgit v1.2.3