diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-26 10:28:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-26 11:09:01 -0700 |
commit | bd2f371d34b495ebbc4689604cfc34a825c47d2b (patch) | |
tree | cee8d0b1cf61bd9f1c327853feec7af2acff0052 /t/t3102-ls-tree-wildcards.sh | |
parent | attr: avoid calling find_basename() twice per path (diff) | |
download | tgif-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/t3102-ls-tree-wildcards.sh')
0 files changed, 0 insertions, 0 deletions