_The --set-utc (-Z) option causes patch to set a patched file’s modification 
and access times to the timestamps given in context diff headers._ 
=>
behavior of diff file without date header 

_patch normally refrains from setting a file’s timestamps if the file’s 
original last-modified timestamp does not match the time given in the diff 
header, of if the file’s contents do not exactly match the patch._
=>
behavior of diff file with date header

See 
https://www.gnu.org/software/diffutils/manual/html_node/Patching-Timestamps.html#Patching-Timestamps

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/788#issuecomment-511004847
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to