Merge branch 'nd/attr-match-optim'
authorJeff King <peff@peff.net>
Thu, 25 Oct 2012 10:42:36 +0000 (06:42 -0400)
committerJeff King <peff@peff.net>
Thu, 25 Oct 2012 10:42:36 +0000 (06:42 -0400)
commit70d1825749ba1528af507e27ba5f8a660a5ede3d
treec036a00d0b86ef7faa76b2b3e11acf43127eb7e3
parent315ea32f1bd57b884f654f6f8a965af9b5e4d8ee
parent4742d136e2c8423ce17ccd0ccf161d9f20d49847
Merge branch 'nd/attr-match-optim'

Trivial and obvious optimization for finding attributes that match
a given path.

* nd/attr-match-optim:
  attr: avoid searching for basename on every match
  attr: avoid strlen() on every match
attr.c