diff options
author | Hal Canary <halcanary@google.com> | 2017-07-02 22:05:59 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-04 17:23:04 +0000 |
commit | 54dac1f359d6af8c8e85b12f2fbb54eee7f4cdd1 (patch) | |
tree | cf6a19a688e1ae93acdcbbcb33f30f7e5b12cc96 /experimental/documentation | |
parent | bfa23d7d87819ede95941b70862b35448a7da1b9 (diff) |
experimental/documentation/gerrit.md: fix error
NOTRY=true
Change-Id: I40762016f28cd5814c79e4159fa4f73d585f6545
Reviewed-on: https://skia-review.googlesource.com/21377
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'experimental/documentation')
-rw-r--r-- | experimental/documentation/gerrit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/documentation/gerrit.md b/experimental/documentation/gerrit.md index 5a17f8a4c6..6284685ecc 100644 --- a/experimental/documentation/gerrit.md +++ b/experimental/documentation/gerrit.md @@ -128,14 +128,14 @@ is set, you can use that to automatically push to that branch: gerrit_push_upstream() { local UPSTREAM_FULL="$(git rev-parse --symbolic-full-name @{upstream})" case "$UPSTREAM_FULL" in - (refs/remotes/*) :;; + (refs/remotes/*);; (*) echo "Set your remote upstream branch."; return 2;; esac local UPSTREAM="${UPSTREAM_FULL#refs/remotes/}" local REMOTE="${UPSTREAM%%/*}" local REMOTE_BRANCH="${UPSTREAM#*/}" local MESSAGE="$(echo $*|sed 's/[^A-Za-z0-9]/_/g')" - echo git push $R @:refs/for/${B}%m=${M}; + echo git push $REMOTE @:refs/for/${REMOTE_BRANCH}%m=${MESSAGE} git push "$REMOTE" "@:refs/for/${REMOTE_BRANCH}%m=${MESSAGE}" } |