Merge branch 'jc/fmt-req-fix'

* jc/fmt-req-fix:
  userformat_find_requirements(): find requirement for the correct format
This commit is contained in:
Junio C Hamano 2011-05-30 20:19:21 -07:00
commit d98a20114d

View File

@ -1084,7 +1084,7 @@ void userformat_find_requirements(const char *fmt, struct userformat_want *w)
return;
fmt = user_format;
}
strbuf_expand(&dummy, user_format, userformat_want_item, w);
strbuf_expand(&dummy, fmt, userformat_want_item, w);
strbuf_release(&dummy);
}