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>

Nguyễn Thái Ngọc Duy committed Jan 15, 2013 at 09:49 UTC 712efb1a42c8012e5d49f288bf7307e2da09d646
1 file changed +1 -1
attr.c
+1 -1
@@ -685,7 +685,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)
685
686 if (*n == ATTR__UNKNOWN) {
687 debug_set(what,
688 - a->is_macro ? a->u.attr->name : a->u.pattern,
688 + a->is_macro ? a->u.attr->name : a->u.pat.pattern,
689 attr, v);
690 *n = v;
691 rem--;