aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-01-15 09:49:26 +0700
committerJunio C Hamano <gitster@pobox.com>2013-01-15 10:02:08 -0800
commit712efb1a42c8012e5d49f288bf7307e2da09d646 (patch)
tree2f74c37b471f464ec72764987ecb2b7656aeb157
parent82dce998c2028b6ee96691921b7037a6e182ec89 (diff)
downloadgit-712efb1a42c8012e5d49f288bf7307e2da09d646.tar.gz
git-712efb1a42c8012e5d49f288bf7307e2da09d646.tar.xz
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>
-rw-r--r--attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 2fc635362..dc2c63e3e 100644
--- a/attr.c
+++ b/attr.c
@@ -685,7 +685,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--;