summaryrefslogtreecommitdiff
path: root/t/t1008-read-tree-overlay.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-26 10:28:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-26 11:09:01 -0700
commitbd2f371d34b495ebbc4689604cfc34a825c47d2b (patch)
treecee8d0b1cf61bd9f1c327853feec7af2acff0052 /t/t1008-read-tree-overlay.sh
parentattr: avoid calling find_basename() twice per path (diff)
downloadtgif-bd2f371d34b495ebbc4689604cfc34a825c47d2b.tar.xz
attr.c::path_matches(): the basename is part of the pathname
The function takes two strings (pathname and basename) as if they are independent strings, but in reality, the latter is always pointing into a substring in the former. Clarify this relationship by expressing the latter as an offset into the former. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1008-read-tree-overlay.sh')
0 files changed, 0 insertions, 0 deletions