aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Fischer <meirfischer@gmail.com>2018-06-16 17:50:03 -0400
committerAlex Brainman <alex.brainman@gmail.com>2018-06-17 03:00:24 +0000
commit3faf27076323fb8383c9b24e875f37a630b2f213 (patch)
treedaf3e9224d261b7ce276abaac0d3ef3f5f7c5393
parentabfd23779f7118d331eb23f79506debc5f95b511 (diff)
downloadgo-x-review-3faf27076323fb8383c9b24e875f37a630b2f213.tar.xz
git-codereview: highlight branchpoint command
Put text between title and command. Fixes: golang/go#19077 Change-Id: I6fe1cc3081d6aa939cd46de11fa208b4a0d6b26e Reviewed-on: https://go-review.googlesource.com/119339 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-rw-r--r--git-codereview/doc.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go
index 443ae55..5b87283 100644
--- a/git-codereview/doc.go
+++ b/git-codereview/doc.go
@@ -105,13 +105,15 @@ Descriptions of each command follow.
Branchpoint
+The branchpoint command prints the commit hash of the most recent commit
+on the current branch that is shared with the Gerrit server.
+
git codereview branchpoint
-The branchpoint command prints the commit hash of the most recent commit
-on the current branch that is shared with the Gerrit server. This is the point
-where local work branched from the published tree. The command is intended
-mainly for use in scripts. For example, ``git diff $(git codereview branchpoint)''
-or ``git log $(git codereview branchpoint)..HEAD''.
+This commit is the point where local work branched from the published tree.
+The command is intended mainly for use in scripts. For example,
+``git diff $(git codereview branchpoint)'' or
+``git log $(git codereview branchpoint)..HEAD''.
Change