aboutsummaryrefslogtreecommitdiffstats
path: root/pretty.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:28 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:29 -0700
commit107313eb11931a66ec4cd3f83bd6c260f296ad19 (patch)
treeefa63d47735cf17e1cc93e60c0f5985caad0b89d /pretty.h
parent2d642afb0a469c0c344f23bc715ea70b6a2dcade (diff)
parent9720d23e8caf4adee44b3a32803a9bb0480118bd (diff)
downloadgit-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretty.h b/pretty.h
index 9cc9e5d42b..df267afe4a 100644
--- a/pretty.h
+++ b/pretty.h
@@ -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 */