From: Junio C Hamano Date: Wed, 3 Apr 2013 16:34:04 +0000 (-0700) Subject: Merge branch 'jc/directory-attrs-regression-fix' X-Git-Tag: v1.8.3-rc0~128 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f30366b27a91dbc18328bccf3067cdfad4f0cfbc?hp=f30366b27a91dbc18328bccf3067cdfad4f0cfbc Merge branch 'jc/directory-attrs-regression-fix' Fix 1.8.1.x regression that stopped matching "dir" (without trailing slash) to a directory "dir". * jc/directory-attrs-regression-fix: t: check that a pattern without trailing slash matches a directory dir.c::match_pathname(): pay attention to the length of string parameters dir.c::match_pathname(): adjust patternlen when shifting pattern dir.c::match_basename(): pay attention to the length of string parameters attr.c::path_matches(): special case paths that end with a slash attr.c::path_matches(): the basename is part of the pathname ---