Jacob Keller [off-list ref] 于2021年7月23日周五 下午5:09写道:
On Thu, Jul 22, 2021 at 12:40 AM ZheNing Hu via GitGitGadget
[off-list ref] wrote:
quoted
From: ZheNing Hu <redacted>
In order to let "cat-file --batch=%(rest)" use the ref-filter
interface, add %(rest) atom for ref-filter. Introduce the
reject_atom() to reject the atom %(rest) for "git for-each-ref",
"git branch", "git tag" and "git verify-tag".
To a reader intimately familiar with cat-file, %(rest) might be
obvious.. but it would help the commit message read more easily if
there was a short explanation of what %(rest) did. It is not obvious
just from the name to me.
You are right, I may subconsciously think that everyone knows the
%(rest) in cat-file.
I will change it.
Thanks,
Jake
Thanks.
--
ZheNing Hu