On Mon, Apr 1, 2019 at 12:19 AM Thomas Gummerer <t.gummerer@xxxxxxxxx> wrote: > > If you look at what userformat_find_requirements() does, calls > strbuf_expand(), which in turn calls userformat_want_item(), which > fills the 'userformat_want' struct based on the strbuf that has been > passed. > > Now if we look at the caller of userformat_find_requirements(), which > is cmd_log_init_finish(), you can see where 'w.notes' and 'w.source' > is used. > i actually got to userformat_find_requirements() by tracing from cmd_log() itself. although i won't say i read the cmd_log_init_finish() line by line. will do.