From: "Đoàn Trần Công Danh" <congdanhqx@gmail.com>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: Andy AO via GitGitGadget <gitgitgadget@gmail.com>,
git@vger.kernel.org,
Felipe Contreras <felipe.contreras@gmail.com>,
"Robert P. J. Day" <rpjday@crashcourse.ca>,
Derrick Stolee <stolee@gmail.com>, Andy AO <zen96285@gmail.com>
Subject: Re: [PATCH] describe-doc:fix a obscure error description in the git log documentation
Date: Mon, 31 May 2021 17:00:36 +0700 [thread overview]
Message-ID: <YLSzxIyULB1CcIdQ@danh.dev> (raw)
In-Reply-To: <f34de283-d749-854a-0ed0-d4e244dc259b@gmail.com>
On 2021-05-31 14:49:32+0700, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> Hi Đoàn,
>
> On 31/05/21 13.47, Đoàn Trần Công Danh wrote:
> > On 2021-05-31 06:00:56+0000, Andy AO via GitGitGadget <gitgitgadget@gmail.com> wrote:
> > > From: zen96285 <zen96285@gmail.com>
> > >
> > > The git log documentation says "The default option is 'short'." This is wrong. After testing, the default value of '--decorate' is 'auto', not 'short'.
> > >
> > > There is no difference between 'auto' and 'short' in terminal, but there is a significant difference in how they behave in the shell.The information generated by the 'short' can be saved in shell variables, while the 'auto' can't.
> >
> > Please use your real name and wrap your commit message at 50
> > characters for subject line and 72 characters for body.
>
> I think the case here was Andy forwarded this patch from someone, which
> happened to be also himself. Maybe that From: line above can be removed,
> unless that he forwarded from other people (in which From: line must be
> preserved).
Andy is using GitGitGadget bridge.
That bridge uses its own email address (gitgitgadget@gmail.com).
Thus, the identity in the RFC 822's header: "From" should be ignored,
and we should use the "From: " line in body instead.
In principle, GitGitGadget will use the Author identity in the commit
that was pushed into GitHub to generate such "From: " line.
So, it's Andy's resposibility to configure correct core.name and
core.email in Andy's machine, and create a commit with correct
authorship. Otherwise, GitGitGadget will create above message.
Hope that help.
--
Danh
next prev parent reply other threads:[~2021-05-31 10:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 6:00 [PATCH] describe-doc:fix a obscure error description in the git log documentation Andy AO via GitGitGadget
2021-05-31 6:41 ` Bagas Sanjaya
2021-05-31 6:47 ` Đoàn Trần Công Danh
2021-05-31 6:57 ` Junio C Hamano
2021-05-31 7:18 ` Đoàn Trần Công Danh
2021-05-31 7:49 ` Bagas Sanjaya
2021-05-31 10:00 ` Đoàn Trần Công Danh [this message]
2021-06-08 1:58 ` [PATCH] doc/log: correct default for --decorate Đoàn Trần Công Danh
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YLSzxIyULB1CcIdQ@danh.dev \
--to=congdanhqx@gmail.com \
--cc=bagasdotme@gmail.com \
--cc=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=rpjday@crashcourse.ca \
--cc=stolee@gmail.com \
--cc=zen96285@gmail.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).