Merge branch 'nd/fix-directory-attrs-off-by-one'
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Jan 2013 17:34:28 +0000 (09:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Jan 2013 17:34:29 +0000 (09:34 -0800)
commit9a9f243f6426056058c7c29999c27a086f94e035
tree038c817fc661dad730ad18c8a3273b40c58d37b1
parent801cbd7c71bfc61ebd7dd526ccf43282ef887869
parent9db9eecfe5c2490d17c0d4bd5452e4cb1d0948c5
Merge branch 'nd/fix-directory-attrs-off-by-one'

Fix performance regression introduced by an earlier change to let
attributes apply to directories.

Needs to be merged to maint, as 94bc671a was merged there already.

* 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