Merge branch 'nd/fix-directory-attrs-off-by-one' into maint
commit025ea586e65bac27f7b15c4da8f1d3bd381c3a14
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2013 19:18:54 +0000 (29 11:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2013 19:20:10 +0000 (29 11:20 -0800)
treeb4cd96f76246fba1ddebfe930e7532fe01cfc875
parentda2987d4c3be50bb9d888d145ba42fe26c7045f3
parent9db9eecfe5c2490d17c0d4bd5452e4cb1d0948c5
Merge branch 'nd/fix-directory-attrs-off-by-one' into maint

The attribute mechanism didn't allow limiting attributes to be
applied to only a single directory itself with "path/" like the
exclude mechanism does.  The initial implementation of this that was
merged to 'maint' and 1.8.1.1 had severe performance degradations.

* nd/fix-directory-attrs-off-by-one:
  attr: avoid calling find_basename() twice per path
  attr: fix off-by-one directory component length calculation
attr.c