[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-patch] Caveat about permissions in manual page
From: |
Jean Delvare |
Subject: |
[bug-patch] Caveat about permissions in manual page |
Date: |
Fri, 08 Jun 2018 14:43:45 +0200 |
Hi all,
The manual page of patch states:
CAVEATS
Context diffs cannot
reliably represent the creation or
deletion of empty files
, empty directories, or special
files such
as symbolic links. Nor can they represent
changes to fil
e metadata like ownership, permissions, or
whether one file is a
hard link to another. If changes
like these are also
required, separate instructions (e.g. a
shell
script) to accomplish them should accompany the
patch.
This was written long ago. Since then, support was added for some git
extensions to the unified patch format. I know that at least changing
the permissions of existing file, and setting the permissions on new
files, can be done that way. I don't know about the rest. Shouldn't
that be mentioned in this section, as an alternative to a shell script?
Thanks,
--
Jean Delvare
SUSE L3 Support
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-patch] Caveat about permissions in manual page,
Jean Delvare <=