Ivan Frade
e64ce267f8
RepoCommand: Preserve executable bit in <copyfile>
The copyfile entry in the manifest file copies the contents of the file but doesn't keep the executable flag. This is inconsistent with repo tool behaviour, plus is natural to expect that the copy of a executable file is executable. Transfer the executable bit when copying the file, aligning the RepoCommand with repo tool and user expectations. Change-Id: I01b24f482d5939e01d496f032388b3a5c02a912a Signed-off-by: Ivan Frade <ifrade@google.com> |
5 年之前 | |
---|---|---|
.. | ||
ManifestParserTest.java | Deprecate Constants.CHARSET in favor of StandardCharsets.UTF_8 | 5 年之前 |
RepoCommandSymlinkTest.java | RepoCommandSymlinkTest#testLinkFileBare: Use try-with-resource | 6 年之前 |
RepoCommandTest.java | RepoCommand: Preserve executable bit in <copyfile> | 5 年之前 |