From: Patrick Steinhardt Date: Fri, 15 Aug 2025 05:17:18 GMT Subject: Re: [PATCH v2 0/3] Teach git-diff-tree(1) option --max-depth Message-ID: In-Reply-To: On Thu, Aug 14, 2025 at 08:15:44AM -0700, Junio C Hamano wrote: > Toon Claes writes: > > > Changes in v2: > > - Added unit-tests for within_depth() in dir.c. Originally the patch > > was a oneline change by Peff, but I've added a bunch of code and > > extended the commit message, so I've set myself as the author and set > > a Based-on-patch-by trailer for Peff. I hope that's okay? > > - Added support for --max-depth=-1 and extended code comments why we > > need the max_depth_valid flag. With these modification it did no > > longer feel appropriate to keep Peff's Signed-off-by trailer. > > - Made die() messages translatable. > > - Small tweaks to the docs. > > - Added some const-correctness. > > - Switched from `die("BUG: ...")` to `BUG(...)`. > > - Link to v1: https://lore.kernel.org/r/20250729-toon-max-depth-v1-0-c177e39c40fb@iotcl.com > > This round seems to have attracted no comments, after seeing and > reacting to a few comments in the previous rounds. Should this be > a part of the first batch after 2.51 final gets tagged? My nits all got addressed judging by the range diff, so I'm happy with this version. Thanks! Patrick