Re: [PATCH 0/4] Update maintainer-pgp-guide.rst Chinese translation
From: Weijie Yuan
Date: Fri Aug 21 2026 - 08:49:34 EST
On Fri, Aug 21, 2026 at 08:17:06PM +0800, Dongliang Mu wrote:
[...]
> > (I definitely won't admit that the log file annoyed me a few times
> > because I accidentally included it with 'git add .' and then had to 'git
> > commit --amend' right after) ;-)
> My experience is to not use 'git add .'. In Linux, hidden files are not
> listed by default.
Yes, I was being lazy to type the full pach/full file name, oops.
While hidden files are not listed by default on Linux, thankfully the
kernel source tree ignores .* via .gitignore. But 'git add .' is indeed
a bad habit.
Btw, git commit -v, or setting commit.verbose = true, can really save
one at the last minute. (as mentioned in our how-to doc) And sadly I
actually happened to use another computer to write patches last night,
which I hadn't configured it. XD
[...]
> > > > Btw I've been trying to know more about Sphinx and kernel-docs, hope my
> > > > mistake won't happen again.
> > > That change can fix problem. The underlying problem is RST syntax. Maybe you
> > > can have a look at this or query it in the LLM.
> > Absolutely. I did have relatively little experience writing rst before.
> > But that's definitely no excuse - I'll try to pick it up quickly.
> LLM is really useful to capture some syntax and semantics issues. Therefore,
> before submitting patch, use LLM to scan problem in this issue.
Got it, thanks.
> I am writing a draft skill for reviewing patches of kernel Chinese
> documentation.
Nice! I've been trying "b4 review tui" these days and I also made some
modifications to its pre-configured prompt to fit our specific
workflows:
https://git.kernel.org/pub/scm/utils/b4/b4.git/tree/misc/agent-reviewer.md
b4 review tui 'agents' - AI-assisted review:
https://b4.docs.kernel.org/en/latest/reviewer/getting-started.html#ai-assisted-review
Sometimes my agent makes false alarms, but at other times it does manage
to identify the issues that we have overlooked. This is probably also
one of the reasons why the community is gradually becoming more
accepting of LLMs.
Thanks!