summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDavid Mandelberg <david@mandelberg.org>2025-03-23 17:05:46 -0400
committerJunio C Hamano <gitster@pobox.com>2025-03-23 23:03:12 -0700
commit5637bdc352a7763e30290bb37239a61cb9865d1b (patch)
treead3fa9340f66998848f1a6fcf32234f256433c33 /commit.c
parent6a64ac7b014fa2cfa7a69af3c253bcd53a94b428 (diff)
completion: add helper to count path components
A follow-up commit will use this with for-each-ref to strip the right number of path components from refnames. Signed-off-by: David Mandelberg <david@mandelberg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions