New option: --set-mtime-command
commit9a30bb267430eb1b69151f947cf4613803182c61
authorSergey Poznyakoff <gray@gnu.org>
Tue, 1 Aug 2023 12:39:15 +0000 (1 15:39 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Tue, 1 Aug 2023 12:45:14 +0000 (1 15:45 +0300)
treec5d64a90b67ba01f72d158c184ebac31818efb09
parenteb30aa780166b1255611e440307f5d091356ac30
New option: --set-mtime-command

* NEWS: Document new option.
* src/common.h (COMMAND_MTIME): New constant.
* src/create.c (set_mtime_command)
(set_mtime_format): New globals.
(sys_exec_setmtime_script): New prototype.
* src/system.c (start_header): Handle COMMAND_MTIME.
* src/tar.c (sys_exec_setmtime_script): New function.
NEWS
src/common.h
src/create.c
src/system.c
src/tar.c