Mention 'git receive-pack' --cc/--reviewer args

Since we switched to args4j for our parsing these options are available
on both 'git receive-pack' and 'gerrit receive-pack'.  We might as well
just talk about it on 'git receive-pack' in the documentation.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-05-28 11:20:06 -07:00
parent e85964c26f
commit fc0ec2f6c2

View File

@@ -153,10 +153,10 @@ shorter URLs on the command line, such as:
Specific reviewers can be requested and/or additional ``carbon
copies'' of the notification message may be sent by including these
as arguments to `gerrit receive-pack`:
as arguments to `git receive-pack`:
====
git push --receive-pack='gerrit receive-pack --reviewer=a@a.com --cc=b@o.com' tr:kernel/common HEAD:refs/for/experimental
git push --receive-pack='git receive-pack --reviewer=a@a.com --cc=b@o.com' tr:kernel/common HEAD:refs/for/experimental
====
The `\--reviewer='email'` and `\--cc='email'` options may be
@@ -174,7 +174,7 @@ branches, consider adding a custom remote block to your project's
...
[remote "for-a-exp"]
url = tr:kernel/common
receivepack = gerrit receive-pack --reviewer=a@a.com --cc=b@o.com
receivepack = git receive-pack --reviewer=a@a.com --cc=b@o.com
push = HEAD:refs/for/experimental
$ git push for-a-exp