[Depot tools][Split]Clarify max depth
Looking at split’s documentation it was not clear what was the behavior when the max-depth flag was missing. As it’s the default, this seems like an important information. Especially when a warning state to use it. Also, I thought the depth was counted starting from the file, not the root. E.g. for file a/b/c/d/e.cc, the depth 1 would mean using a/b/c/d/OWNERS, and not a/OWNERS. I believe that an example would make it clearer to future users of LSC how to use this value. Bug: None Change-Id: I5d2b4f2fefceb8a4ec86ee1c508fb7848f69e44f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6179836 Auto-Submit: Arthur Milchior <arthurmilchior@chromium.org> Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Arthur Milchior <arthurmilchior@chromium.org>changes/36/6179836/4
parent
45716abe5c
commit
d3717ed04d
Loading…
Reference in New Issue