We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f3f354 + 057893e commit 088f31eCopy full SHA for 088f31e
Utilities/GitSetup/git-review-push
@@ -80,18 +80,5 @@ echo "Pushing to $remote"
80
push_stdout=$(git push --porcelain $force $dry_run "$remote" $refspecs); push_exit=$?
81
echo "$push_stdout"
82
83
-if test $push_exit -eq 0; then
84
- topic="$(git symbolic-ref HEAD | sed -e 's|^refs/heads/||')"
85
- pushurl="$(git config --get remote."$remote".pushurl || git config --get remote."$remote".url)"
86
- username=$(echo $pushurl | sed -n -e "s/git@$host:\([[:alnum:]]\+\).*/\1/p")
87
- if test -n "$username"; then
88
- echo '
89
-Preview the pull request by visiting:
90
-
91
- https://'"$host"'/'"$organization_name"'/'"$repo_name"'/compare/master...'"$username"':'"$topic"'
92
-'
93
- fi
94
-fi
95
96
# Reproduce the push exit code.
97
exit $push_exit
0 commit comments