Re: [PATCH] Documentation/commit-tree: mention -S option

2013-03-25 Thread Junio C Hamano
Brad King  writes:

> Commit ba3c69a9 (commit: teach --gpg-sign option, 2011-10-05) added the
> -S option and documented it in the command usage.  Then commit 098bbdc3
> (Add -S, --gpg-sign option to manpage of "git commit", 2012-10-21)
> documented it in the porcelain manpage.  Use wording from the porcelain
> to document the option in the plumbing manpage too.
> ---

This does not seem to use the same wording, though.

git commit -S

will pick up the signing key by calling get_signing_key() the same
way "git tag -s" would, iow,  part is optional.

>  Documentation/git-commit-tree.txt |7 ++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/git-commit-tree.txt 
> b/Documentation/git-commit-tree.txt
> index 86ef56e..62f7b53 100644
> --- a/Documentation/git-commit-tree.txt
> +++ b/Documentation/git-commit-tree.txt
> @@ -10,7 +10,9 @@ SYNOPSIS
>  
>  [verse]
>  'git commit-tree'  [(-p )...] < changelog
> -'git commit-tree' [(-p )...] [(-m )...] [(-F )...] 
> 
> +'git commit-tree' [(-p )...] [-S] [(-m )...]
> +   [(-F )...] 
> +
>  
>  DESCRIPTION
>  ---
> @@ -52,6 +54,9 @@ OPTIONS
>   Read the commit log message from the given file. Use `-` to read
>   from the standard input.
>  
> +-S::
> + GPG-sign commit.
> +
>  
>  Commit Information
>  --
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Documentation/commit-tree: mention -S option

2013-03-25 Thread Brad King
On 03/25/2013 04:06 PM, Junio C Hamano wrote:
> Brad King  writes:
> 
>> Commit ba3c69a9 (commit: teach --gpg-sign option, 2011-10-05) added the
>> -S option and documented it in the command usage.  Then commit 098bbdc3
>> (Add -S, --gpg-sign option to manpage of "git commit", 2012-10-21)
>> documented it in the porcelain manpage.  Use wording from the porcelain
>> to document the option in the plumbing manpage too.
>> ---
> 
> Thanks; sign-off?

Oops!

Signed-off-by: Brad King 

-Brad
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Documentation/commit-tree: mention -S option

2013-03-25 Thread Junio C Hamano
Brad King  writes:

> Commit ba3c69a9 (commit: teach --gpg-sign option, 2011-10-05) added the
> -S option and documented it in the command usage.  Then commit 098bbdc3
> (Add -S, --gpg-sign option to manpage of "git commit", 2012-10-21)
> documented it in the porcelain manpage.  Use wording from the porcelain
> to document the option in the plumbing manpage too.
> ---

Thanks; sign-off?

>  Documentation/git-commit-tree.txt |7 ++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/git-commit-tree.txt 
> b/Documentation/git-commit-tree.txt
> index 86ef56e..62f7b53 100644
> --- a/Documentation/git-commit-tree.txt
> +++ b/Documentation/git-commit-tree.txt
> @@ -10,7 +10,9 @@ SYNOPSIS
>  
>  [verse]
>  'git commit-tree'  [(-p )...] < changelog
> -'git commit-tree' [(-p )...] [(-m )...] [(-F )...] 
> 
> +'git commit-tree' [(-p )...] [-S] [(-m )...]
> +   [(-F )...] 
> +
>  
>  DESCRIPTION
>  ---
> @@ -52,6 +54,9 @@ OPTIONS
>   Read the commit log message from the given file. Use `-` to read
>   from the standard input.
>  
> +-S::
> + GPG-sign commit.
> +
>  
>  Commit Information
>  --
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Documentation/commit-tree: mention -S option

2013-03-25 Thread Brad King
Commit ba3c69a9 (commit: teach --gpg-sign option, 2011-10-05) added the
-S option and documented it in the command usage.  Then commit 098bbdc3
(Add -S, --gpg-sign option to manpage of "git commit", 2012-10-21)
documented it in the porcelain manpage.  Use wording from the porcelain
to document the option in the plumbing manpage too.
---
 Documentation/git-commit-tree.txt |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/git-commit-tree.txt 
b/Documentation/git-commit-tree.txt
index 86ef56e..62f7b53 100644
--- a/Documentation/git-commit-tree.txt
+++ b/Documentation/git-commit-tree.txt
@@ -10,7 +10,9 @@ SYNOPSIS
 
 [verse]
 'git commit-tree'  [(-p )...] < changelog
-'git commit-tree' [(-p )...] [(-m )...] [(-F )...] 

+'git commit-tree' [(-p )...] [-S] [(-m )...]
+ [(-F )...] 
+
 
 DESCRIPTION
 ---
@@ -52,6 +54,9 @@ OPTIONS
Read the commit log message from the given file. Use `-` to read
from the standard input.
 
+-S::
+   GPG-sign commit.
+
 
 Commit Information
 --
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html