git-codereview: add a hint about mailing the whole chain of changes
"mail HEAD" will mail every commit between HEAD and branching point.
Fixes golang/go#16034
Change-Id: If95aece584f2a324f866c64770f7361ddb3e7636
Reviewed-on: https://go-review.googlesource.com/c/review/+/148137
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
diff --git a/git-codereview/mail.go b/git-codereview/mail.go
index c96caff..55e2c28 100644
--- a/git-codereview/mail.go
+++ b/git-codereview/mail.go
@@ -43,7 +43,7 @@
if len(flags.Args()) == 1 {
c = b.CommitByRev("mail", flags.Arg(0))
} else {
- c = b.DefaultCommit("mail", "must specify commit on command line")
+ c = b.DefaultCommit("mail", "must specify commit on command line or use mail HEAD for everything")
}
if *diff {