File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,15 @@ REPO_URL="$(echo "$REPO_URL" | awk -F'[@:]' -v BRANCH="$BRANCH" -v DESTINATION="
53
53
54
54
gsub("^ *", "");
55
55
gsub(" *$", "");
56
- gsub("\ .git$", "");
56
+ gsub(".git$", "");
57
57
58
58
if (domain == "bitbucket.org") {
59
- print "https://bitbucket.org/" $0 "/branch/" BRANCH "?dest=" DESTINATION
59
+ print "https://bitbucket.org/" $0 "/branch/" BRANCH "?dest=" DESTINATION;
60
60
} else if (domain == "github.com") {
61
- print "https://github.com/" $0 "/compare/" DESTINATION "..." BRANCH
62
- } else
63
- print "Unknown domain: " DOMAIN
64
- print "git open will need to be modified to work with this domain"
61
+ print "https://github.com/" $0 "/compare/" DESTINATION "..." BRANCH;
62
+ } else {
63
+ print "Unknown domain: " DOMAIN;
64
+ print "git open will need to be modified to work with this domain";
65
65
}
66
66
}
67
67
' ) "
You can’t perform that action at this time.
0 commit comments