summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-01-18 11:20:11 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-18 11:20:12 -0800
commit3a39fa750d891c72c96f4652fc6a85e2e1f17da7 (patch)
tree0733aeffaaa3eeed47854e79b7ef5643b11a406e /attr.c
parentMerge branch 'rs/pretty-use-prefixcmp' (diff)
parentattr: make it build with DEBUG_ATTR again (diff)
downloadtgif-3a39fa750d891c72c96f4652fc6a85e2e1f17da7.tar.xz
Merge branch 'nd/attr-debug-fix'
Fix debugging support that was broken in earlier change. * nd/attr-debug-fix: attr: make it build with DEBUG_ATTR again
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index d6d71901b2..233539969a 100644
--- a/attr.c
+++ b/attr.c
@@ -704,7 +704,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)
if (*n == ATTR__UNKNOWN) {
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);
*n = v;
rem--;