attr: avoid strlen() on every match
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 5 Oct 2012 04:41:01 +0000 (11:41 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Oct 2012 19:27:35 +0000 (12:27 -0700)
commitcd6a0b265e4cbfd973e81b5f811e6d8eb4311b9b
tree43bd348ec8b559ac414b83ae381af875d542b49a
parentbafc478f1618534fcb85bedc0fa224bd2d462441
attr: avoid strlen() 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