aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-06-25 01:01:51 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-06-25 01:01:51 +0200
commit84bd4ede3ef6a13879453a941d9b914e4484d92a (patch)
treef76a8766ae2c3c9581ff8ce76672df4a4a81f31d /po
parent60f68f84d408b79dabf541d206c90fa21e5e69fb (diff)
downloadvim-suse-changes-84bd4ede3ef6a13879453a941d9b914e4484d92a.tar.gz
fix(po): also consider origin remote
Silly, the most common remote name and I forgot about it.
Diffstat (limited to 'po')
-rwxr-xr-xpo2
1 files changed, 2 insertions, 0 deletions
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