Ensure 'open in browser' contains file path (#20)

Fix #19
main
Stoyan Dimov 2 years ago committed by GitHub
parent 9190e1bf72
commit f36662f603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ elif [[ $# -gt 1 ]]; then
remote=$2
path=/tree/$branch
;;
file) path=/blob/$branch/$2 ;;
file) path=/blob/$branch/$(git rev-parse --show-prefix)$2 ;;
tag) path=/releases/tag/$2 ;;
*) exit 1 ;;
esac

Loading…
Cancel
Save