summaryrefslogtreecommitdiffstats
path: root/log-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-16 23:50:28 +0200
committerJunio C Hamano <gitster@pobox.com>2024-04-16 23:50:29 +0200
commit107313eb11931a66ec4cd3f83bd6c260f296ad19 (patch)
treeefa63d47735cf17e1cc93e60c0f5985caad0b89d /log-tree.c
parentMerge branch 'sj/userdiff-c-sharp' (diff)
parentdate: make DATE_MODE thread-safe (diff)
downloadgit-107313eb11931a66ec4cd3f83bd6c260f296ad19.tar.xz
git-107313eb11931a66ec4cd3f83bd6c260f296ad19.zip
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 'log-tree.c')
-rw-r--r--log-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index 59eeaef1f7..16031b44e7 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -773,7 +773,7 @@ void show_log(struct rev_info *opt)
*/
show_reflog_message(opt->reflog_info,
opt->commit_format == CMIT_FMT_ONELINE,
- &opt->date_mode,
+ opt->date_mode,
opt->date_mode_explicit);
if (opt->commit_format == CMIT_FMT_ONELINE)
return;