diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-25 15:40:10 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-25 15:40:10 -0800 |
commit | 50e1ba5050d56cb19be8eca323935757461597af (patch) | |
tree | 1b8560299b556d645f73ac81ec713f8b96e24049 /exec_cmd.c | |
parent | Merge branch 'jn/doc-api-errors' (diff) | |
parent | attr: avoid heavy work when we know the specified attr is not defined (diff) | |
download | tgif-50e1ba5050d56cb19be8eca323935757461597af.tar.xz |
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
Diffstat (limited to 'exec_cmd.c')
0 files changed, 0 insertions, 0 deletions