From 84bd4ede3ef6a13879453a941d9b914e4484d92a Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 25 Jun 2024 01:01:51 +0200 Subject: fix(po): also consider origin remote Silly, the most common remote name and I forgot about it. --- po | 2 ++ 1 file changed, 2 insertions(+) (limited to 'po') diff --git a/po b/po index 1aaa6f0..1ae36fb 100755 --- a/po +++ b/po @@ -23,6 +23,8 @@ elif [ -d .git ] ; then o_url="$(git remote get-url sourcehut)" elif git remote show myrepo >/dev/null 2>&1 ; then o_url="$(git remote get-url myrepo)" + elif git remote show origin >/dev/null 2>&1 ; then + o_url="$(git remote get-url origin)" else exit 0 fi -- cgit