mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
Merge branch 'bk/document-commit-tree-S'
* bk/document-commit-tree-S: commit-tree: document -S option consistently
This commit is contained in:
commit
c5f05b2356
2 changed files with 7 additions and 2 deletions
|
@ -10,7 +10,9 @@ SYNOPSIS
|
|||
--------
|
||||
[verse]
|
||||
'git commit-tree' <tree> [(-p <parent>)...] < changelog
|
||||
'git commit-tree' [(-p <parent>)...] [(-m <message>)...] [(-F <file>)...] <tree>
|
||||
'git commit-tree' [(-p <parent>)...] [-S[<keyid>]] [(-m <message>)...]
|
||||
[(-F <file>)...] <tree>
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
|
@ -52,6 +54,9 @@ OPTIONS
|
|||
Read the commit log message from the given file. Use `-` to read
|
||||
from the standard input.
|
||||
|
||||
-S[<keyid>]::
|
||||
GPG-sign commit.
|
||||
|
||||
|
||||
Commit Information
|
||||
------------------
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "utf8.h"
|
||||
#include "gpg-interface.h"
|
||||
|
||||
static const char commit_tree_usage[] = "git commit-tree [(-p <sha1>)...] [-S<signer>] [-m <message>] [-F <file>] <sha1> <changelog";
|
||||
static const char commit_tree_usage[] = "git commit-tree [(-p <sha1>)...] [-S[<keyid>]] [-m <message>] [-F <file>] <sha1> <changelog";
|
||||
|
||||
static void new_parent(struct commit *parent, struct commit_list **parents_p)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue