Re: [PATCH v6 2/2] strbuf: change an always NULL/"" strbuf_addftime() param to bool

2017-07-01 Thread René Scharfe
Am 01.07.2017 um 14:55 schrieb Ævar Arnfjörð Bjarmason: strbuf_addstr() allows callers to pass a time zone name for expanding ^^^ That should be "strbuf_addftime()" instead (my typo), as Junio noted. %Z. The only current caller either passes the empty string or NULL, in which cas

[PATCH v6 2/2] strbuf: change an always NULL/"" strbuf_addftime() param to bool

2017-07-01 Thread Ævar Arnfjörð Bjarmason
strbuf_addstr() allows callers to pass a time zone name for expanding %Z. The only current caller either passes the empty string or NULL, in which case %Z is handed over verbatim to strftime(3). Replace that string parameter with a flag controlling whether to remove %Z from the format specificatio