From: Junio C Hamano Date: Wed, 25 Feb 2015 23:40:10 +0000 (-0800) Subject: Merge branch 'nd/attr-optim' X-Git-Tag: v2.4.0-rc0~92 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/50e1ba5050d56cb19be8eca323935757461597af Merge branch 'nd/attr-optim' Optimize attribute look-up, mostly useful in "git grep" on a project that does not use many attributes, by avoiding it when we (should) know that the attributes are not defined in the first place. * nd/attr-optim: attr: avoid heavy work when we know the specified attr is not defined attr: do not attempt to expand when we know it's not a macro attr.c: rename arg name attr_nr to avoid shadowing the global one --- 50e1ba5050d56cb19be8eca323935757461597af