attr: make it build with DEBUG_ATTR again
Commit 82dce99
(attr: more matching optimizations from .gitignore -
2012-10-15) changed match_attr structure but it did not update
DEBUG_ATTR-specific code. This fixes it.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
82dce998c2
commit
712efb1a42
2
attr.c
2
attr.c
@ -685,7 +685,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)
|
|||||||
|
|
||||||
if (*n == ATTR__UNKNOWN) {
|
if (*n == ATTR__UNKNOWN) {
|
||||||
debug_set(what,
|
debug_set(what,
|
||||||
a->is_macro ? a->u.attr->name : a->u.pattern,
|
a->is_macro ? a->u.attr->name : a->u.pat.pattern,
|
||||||
attr, v);
|
attr, v);
|
||||||
*n = v;
|
*n = v;
|
||||||
rem--;
|
rem--;
|
||||||
|
Loading…
Reference in New Issue
Block a user