{"thread":{"id":"32635","subject":"[PATCH] attr: make it build with DEBUG_ATTR again","startedAt":"2013-01-15T02:49:26Z","lastAt":"2013-01-15T02:49:26Z","messageCount":1,"participants":["Nguyễn Thái Ngọc Duy"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"206879","messageId":"1358218166-16592-1-git-send-email-pclouds@gmail.com","threadId":"32635","inReplyTo":null,"subject":"[PATCH] attr: make it build with DEBUG_ATTR again","fromName":"Nguyễn Thái Ngọc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2013-01-15T02:49:26Z","receivedAt":"2013-01-15T02:49:26Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"Commit 82dce99 (attr: more matching optimizations from .gitignore -\n2012-10-15) changed match_attr structure but it did not update\nDEBUG_ATTR-specific code. This fixes it.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\n---\n attr.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/attr.c b/attr.c\nindex 097ae87..0575bf7 100644\n--- a/attr.c\n+++ b/attr.c\n@@ -693,7 +693,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)\n \n \t\tif (*n == ATTR__UNKNOWN) {\n \t\t\tdebug_set(what,\n-\t\t\t\t  a->is_macro ? a->u.attr->name : a->u.pattern,\n+\t\t\t\t  a->is_macro ? a->u.attr->name : a->u.pat.pattern,\n \t\t\t\t  attr, v);\n \t\t\t*n = v;\n \t\t\trem--;\n-- \n1.8.0.rc3.18.g0d9b108\n"}]}