diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-01-15 09:49:26 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-15 10:02:08 -0800 |
commit | 712efb1a42c8012e5d49f288bf7307e2da09d646 (patch) | |
tree | 2f74c37b471f464ec72764987ecb2b7656aeb157 /attr.c | |
parent | 82dce998c2028b6ee96691921b7037a6e182ec89 (diff) | |
download | git-712efb1a42c8012e5d49f288bf7307e2da09d646.tar.gz |
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>
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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--; |