Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/attr-debug-fix'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 18 Jan 2013 19:20:11 +0000
(11:20 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 18 Jan 2013 19:20:12 +0000
(11:20 -0800)
Fix debugging support that was broken in earlier change.
* nd/attr-debug-fix:
attr: make it build with DEBUG_ATTR again
attr.c
patch
|
blob
|
history
raw
(from parent 1:
3ab4c54
)
diff --git
a/attr.c
b/attr.c
index d6d71901b24855a1d33ef2edeb8fbc6ce8e969dc..233539969af6dc17e8953e4a553cae76fd9601da 100644
(file)
--- 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
.pat
tern,
attr, v);
*n = v;
rem--;