diff --git a/bin/git-browse b/bin/git-browse index f8ab94b52..aee6d7eb0 100755 --- a/bin/git-browse +++ b/bin/git-browse @@ -62,7 +62,7 @@ elif [[ $remote_url =~ bitbucket ]]; then # construct bitbucket urls # https://bitbucket.org///src//#lines-: if [[ -n ${filename} ]]; then - url=${url}/blob/${commit_hash:-${branch}}/${filename} + url=${url}/src/${commit_hash:-${branch}}/${filename} if [[ -n "${line1}" ]]; then url="${url}#lines-${line1}" if [[ -n "${line2}" ]]; then