Jacob Keller <jacob.keller@xxxxxxxxx> writes: > On Sat, Jul 24, 2021 at 7:14 AM ZheNing Hu via GitGitGadget > <gitgitgadget@xxxxxxxxx> wrote: >> >> From: ZheNing Hu <adlternative@xxxxxxxxx> >> >> %(rest) is a atom used for cat-file batch mode, which can split >> the input lines at the first whitespace boundary, all characters >> before that whitespace are considered to be the object name; >> characters after that first run of whitespace (i.e., the "rest" >> of the line) are output in place of the %(rest) atom. >> >> 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". >> >> Suggected-by: Jacob Keller <jacob.keller@xxxxxxxxx> >> Mentored-by: Christian Couder <christian.couder@xxxxxxxxx> >> Mentored-by: Hariom Verma <hariom18599@xxxxxxxxx> >> Signed-off-by: ZheNing Hu <adlternative@xxxxxxxxx> >> --- > > Thanks for the improved commit message here. That helps clarify what > this atom does and aids in understanding the implementation. > > Reviewed-by: Jacob Keller <jacob.keller@xxxxxxxxx> Thanks, both.