aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/doc.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-12-23 12:04:16 -0500
committerRuss Cox <rsc@golang.org>2014-12-23 20:20:36 +0000
commit54e90cf22404776b710d9144802a935aec8dbd74 (patch)
tree88fe13570eb0898f2a8baba255cfcd5b1b3b48fd /git-codereview/doc.go
parent7bfb5ee3c2402269776c1d835036ac35d1e7e868 (diff)
downloadgo-x-review-54e90cf22404776b710d9144802a935aec8dbd74.tar.xz
git-codereview: document <branch>.mailed tag
In earlier commits I have said it was possible to use <branch>.mailed@{1} and so on to get at the history of all versions that were mailed. This is NOT true: the Git reflog does not record history for tags. Only the most recently mailed commit is available. Change-Id: I1e4a6ac510a53bfa3f69a64b6ea5446c914882fe Reviewed-on: https://go-review.googlesource.com/2068 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'git-codereview/doc.go')
-rw-r--r--git-codereview/doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-codereview/doc.go b/git-codereview/doc.go
index ea9fe12..7ef3940 100644
--- a/git-codereview/doc.go
+++ b/git-codereview/doc.go
@@ -127,6 +127,10 @@ The mail command fails if there are staged changes that are not committed. The
The mail command assumes that the Gerrit remote is called 'origin'.
+The mail command updates the tag <branchname>.mailed to refer to the
+commit that was most recently mailed, so running 'git diff <branchname>.mailed'
+shows diffs between what is on the Gerrit server and the current directory.
+
Pending
The pending command prints to standard output the status of all pending changes