diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-04-16 14:50:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-16 14:50:29 -0700 |
commit | 107313eb11931a66ec4cd3f83bd6c260f296ad19 (patch) | |
tree | efa63d47735cf17e1cc93e60c0f5985caad0b89d /pretty.h | |
parent | 2d642afb0a469c0c344f23bc715ea70b6a2dcade (diff) | |
parent | 9720d23e8caf4adee44b3a32803a9bb0480118bd (diff) | |
download | git-107313eb11931a66ec4cd3f83bd6c260f296ad19.tar.gz |
Merge branch 'rs/date-mode-pass-by-value'
The codepaths that reach date_mode_from_type() have been updated to
pass "struct date_mode" by value to make them thread safe.
* rs/date-mode-pass-by-value:
date: make DATE_MODE thread-safe
Diffstat (limited to 'pretty.h')
-rw-r--r-- | pretty.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ int format_set_trailers_options(struct process_trailer_options *opts, * a well-known sentinel date if they appear bogus. */ const char *show_ident_date(const struct ident_split *id, - const struct date_mode *mode); + struct date_mode mode); #endif /* PRETTY_H */ |