strbuf.h comment: discuss strbuf_addftime() arguments in order
Change the comment documenting the strbuf_addftime() function to discuss the parameters in the order in which they appear, which makes this easier to read than discussing them out of order. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Jun 24, 2017 at 12:14 UTC
4904cbc9e195f1de2cb6ff3c5b3d5b756343ef44
1 file changed
+1
-1
strbuf.h
+1
-1
@@ -340,10 +340,10 @@ extern void strbuf_vaddf(struct strbuf *sb, const char *fmt, va_list ap);
340
341
/**
342
* Add the time specified by `tm`, as formatted by `strftime`.
343
- * `tz_name` is used to expand %Z internally unless it's NULL.
343
* `tz_offset` is in decimal hhmm format, e.g. -600 means six hours west
344
* of Greenwich, and it's used to expand %z internally. However, tokens
345
* with modifiers (e.g. %Ez) are passed to `strftime`.
346
+ * `tz_name` is used to expand %Z internally unless it's NULL.
347
*/
348
extern void strbuf_addftime(struct strbuf *sb, const char *fmt,
349
const struct tm *tm, int tz_offset,