Skip to content

Commit 712efb1

Browse files
pcloudsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 82dce99 commit 712efb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)
685685

686686
if (*n == ATTR__UNKNOWN) {
687687
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,
689689
attr, v);
690690
*n = v;
691691
rem--;

0 commit comments

Comments
 (0)