attr.c::path_matches(): the basename is part of the pathname
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 Mar 2013 17:28:07 +0000 (10:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Mar 2013 18:09:01 +0000 (11:09 -0700)
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>
No differences found