if ignore_dir_times is set. In that case preserve_times loses its meaning.
OK tb@
-/* $OpenBSD: uploader.c,v 1.35 2023/11/23 11:59:53 job Exp $ */
+/* $OpenBSD: uploader.c,v 1.36 2023/11/27 11:28:39 claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2019 Florian Obser <florian@openbsd.org>
{
size_t i;
-
- if (!sess->opts->preserve_times &&
+ if ((!sess->opts->preserve_times || sess->opts->ignore_dir_times) &&
!sess->opts->preserve_perms)
return 1;