From: Abhijit Bhopatkar <bain@devslashzero.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com
Subject: [PATCH] Documentation: Better explain git-commit --author implications
Date: Sat, 18 Oct 2008 09:05:16 +0530 [thread overview]
Message-ID: <48F95974.3010503@devslashzero.com> (raw)
'--author' changes the author name and email, but the
documentation was not clear that it will not affect the
'--signoff' option which will still use the user's name and
email from the git settings.
Signed-off-by: Abhijit Bhopatkar <bain@devslashzero.com>
---
Documentation/git-commit.txt | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index eb05b0f..17b69fa 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -78,7 +78,8 @@ OPTIONS
Override the author name used in the commit. You can use the
standard `A U Thor <author@example.com>` format. Otherwise,
an existing commit that matches the given string and its author
- name is used.
+ name is used. This has no effect on singoff line which will
+ still use commiter name and email .
-m <msg>::
--message=<msg>::
@@ -95,6 +96,7 @@ OPTIONS
-s::
--signoff::
Add Signed-off-by line at the end of the commit message.
+ '--author' option has no effect on this line.
-n::
--no-verify::
--
1.5.6.3
next reply other threads:[~2008-10-18 3:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-18 3:35 Abhijit Bhopatkar [this message]
2008-10-18 4:55 ` [PATCH] Documentation: Better explain git-commit --author implications Junio C Hamano
2008-10-19 4:19 ` [PATCH] Documentation: Clarify '--signoff' for git-commit Abhijit Bhopatkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48F95974.3010503@devslashzero.com \
--to=bain@devslashzero.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).