From eb74fee6be6876b86c97cdea0205ec970152358e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 1 Aug 2020 01:38:07 +0200 Subject: Add a function to get an owner-repo pair from the Git repo remote This will allow us to accept suggestion IDs alone, without a full URL, like the following: $ git sugapply 459691747 # or $ git sugapply --remote upstream 459691747 # or $ git config github-suggestion.remote upstream $ git sugapply 459691747 We do this by extracting the pair from the remote URL. --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index b494e8e..d5d3dd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,11 @@ serde_json = "1.0.56" tempfile = "3.1.0" thiserror = "1.0.20" url = "2.1.1" + +github-suggestion-config = { path = "github-suggestion-config" } + + +[workspace] +members = [ + "github-suggestion-config", +] -- cgit v1.2.3