Update git-open

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Paul Irish 2022-07-18 13:07:54 -07:00 committed by GitHub
parent 1576a9dfbe
commit 0672d52de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@ if (( is_commit )); then
# bitbucket uses `/commits/...` (plural)
openurl="$openurl/commits/$sha"
else
# github and gitlab use `/commit/...` (singular)
# github, gitlab, gitea, etc. use `/commit/...` (singular)
openurl="$openurl/commit/$sha"
fi
elif [[ $remote_ref != "master" ]]; then