From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] Documentation/commit-tree: mention -S option Date: Mon, 25 Mar 2013 13:39:57 -0700 Message-ID: <7vy5dbw6w2.fsf@alter.siamese.dyndns.org> References: <14b024f9ee5c6319a0ff1f700f52d29b2464764f.1364240065.git.brad.king@kitware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Brad King X-From: git-owner@vger.kernel.org Mon Mar 25 21:40:40 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKEC6-0000Iz-6a for gcvg-git-2@plane.gmane.org; Mon, 25 Mar 2013 21:40:38 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758629Ab3CYUkI (ORCPT ); Mon, 25 Mar 2013 16:40:08 -0400 Received: from b-pb-sasl-quonix.pobox.com ([208.72.237.35]:62368 "EHLO smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758299Ab3CYUkG (ORCPT ); Mon, 25 Mar 2013 16:40:06 -0400 Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 329BAA614; Mon, 25 Mar 2013 16:40:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Akp2oQ0u5lFobMzMdQAg5iY8EcA=; b=hOCTb4 1r0PrYE9kSMW4s//pxjv3+ZsyD6A8K/1tBqqL4VjEgBzJMbvj0byo2AAb6fd5oVu s1NmERF0nF0XzCcY6Zb/hzEk6m6iM/gmYFvdRVec2JDPcIkMlF5p1vDK7tljHXk2 XpgQZxEKLBx5fuYyCmKyW4kvObGv+ICc6iaV8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=XbKPPRfgHbkX/XBVeqcY/a/wA0Era06w a4iNXQ3uMv0HYoEXwGC0N/zdaFd9WHEQt1jBkEzHNUsNLrF1AlFRnQsClqaORYb8 4hsc5Prn+L7L96yi5CLQZ5QJYR+ThAI8hzonysuz5mKmlxwUT/P5KU+HJcTC4+Nj d0yYJgyHiCM= Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id 61D00A60E; Mon, 25 Mar 2013 16:40:03 -0400 (EDT) Received: from pobox.com (unknown [24.4.35.13]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 499BBA605; Mon, 25 Mar 2013 16:40:02 -0400 (EDT) In-Reply-To: <14b024f9ee5c6319a0ff1f700f52d29b2464764f.1364240065.git.brad.king@kitware.com> (Brad King's message of "Mon, 25 Mar 2013 15:39:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 2B1910AA-958C-11E2-B4C2-EA7A2E706CDE-77302942!b-pb-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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 > ------------------