attr: avoid searching for basename on every match
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 5 Oct 2012 04:41:02 +0000 (11:41 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Oct 2012 19:27:48 +0000 (12:27 -0700)
commit4742d136e2c8423ce17ccd0ccf161d9f20d49847
treef3d46e8afbc407b35ab488f56e06f4e91c8cbfe3
parentcd6a0b265e4cbfd973e81b5f811e6d8eb4311b9b
attr: avoid searching for basename on every match

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c