Add comment on default VSTS repository urls

This commit is contained in:
Jacob Lorenzen 2018-02-20 18:20:01 +01:00
parent 67b72ac0f2
commit aea6e3edb7
No known key found for this signature in database
GPG key ID: 7E60D5202B6264A3

View file

@ -137,7 +137,8 @@ elif [[ "${#pathargs[@]}" -ge '2' && ${pathargs[${#pathargs[@]} - 2]} == '_git'
if (( is_issue )); then
# Switch to workitems, provide work item id if specified
urlpath="${urlpath%%/_git/*}/_workitems"
urlpath="${urlpath/_git\//}"
# Handle case for the default repository url
urlpath="${urlpath#_git\/*}"
providerBranchRef="?id=${branch//[^0-9]/}"
else
# Keep project and repository name, append branch selector.