summaryrefslogtreecommitdiff
path: root/gitweb/static/gitweb.css
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2026-06-21 19:03:07 -0400
committerJunio C Hamano <gitster@pobox.com>2026-06-21 16:26:14 -0700
commit264efee401e04de50055d1519dda1fbd1e02428f (patch)
tree8b147a4002859f1a9ad3e80566523600b27b824d /gitweb/static/gitweb.css
parent0a374511064bad27f707cb9f03448fb8aa25791f (diff)
pack-objects: extract `record_tree_depth()` helper
Prepare for a subsequent change that needs to record tree depths from a second call site by factoring the delta-islands tree-depth bookkeeping out of `show_object()` and into a helper, `record_tree_depth()`. The helper looks up the object in `to_pack`, returns early when the object was not added there, computes the depth from the slash count in the supplied name, and preserves the existing max-depth-wins behavior when a tree is reached by more than one path. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/gitweb.css')
0 files changed, 0 insertions, 0 deletions