diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-06-25 01:01:51 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-06-25 01:01:51 +0200 |
commit | 84bd4ede3ef6a13879453a941d9b914e4484d92a (patch) | |
tree | f76a8766ae2c3c9581ff8ce76672df4a4a81f31d /po | |
parent | 60f68f84d408b79dabf541d206c90fa21e5e69fb (diff) | |
download | vim-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-x | po | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |