This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake".
The branch, master has been updated via 6db8f6a410d99e9a66847530bb520b329d2f1a9e (commit) via 3beb2c440badc293c7cf783abe0f1f5e9fb6f497 (commit) from ac4d6d4a9d9b81773e61c643169cb2afe1bab644 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6db8f6a410d99e9a66847530bb520b329d2f1a9e commit 6db8f6a410d99e9a66847530bb520b329d2f1a9e Merge: ac4d6d4 3beb2c4 Author: Brad King <brad.k...@kitware.com> AuthorDate: Thu Sep 5 13:07:22 2019 +0000 Commit: Kitware Robot <kwro...@kitware.com> CommitDate: Thu Sep 5 09:07:30 2019 -0400 Merge topic 'doc-remove_directory-symlink' 3beb2c440b cmake: Document -E remove_directory symlink behavior Acked-by: Kitware Robot <kwro...@kitware.com> Merge-request: !3784 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3beb2c440badc293c7cf783abe0f1f5e9fb6f497 commit 3beb2c440badc293c7cf783abe0f1f5e9fb6f497 Author: Brad King <brad.k...@kitware.com> AuthorDate: Thu Sep 5 08:30:09 2019 -0400 Commit: Brad King <brad.k...@kitware.com> CommitDate: Thu Sep 5 08:31:49 2019 -0400 cmake: Document -E remove_directory symlink behavior Update documentation for the change made by commit e6c9a8bac3 (cmake: Teach -E remove_directory to remove directory symlinks, 2019-08-26). Also add a release note. Issue: #19533 diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 0645e41..2576cde 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -536,7 +536,8 @@ Available commands are: ``remove_directory <dir>...`` Remove ``<dir>`` directories and their contents. If a directory does - not exist it will be silently ignored. + not exist it will be silently ignored. If ``<dir>`` is a symlink to + a directory, just the symlink will be removed. ``rename <oldname> <newname>`` Rename a file or directory (on one volume). If file with the ``<newname>`` name diff --git a/Help/release/dev/remove_directory-symlink.rst b/Help/release/dev/remove_directory-symlink.rst new file mode 100644 index 0000000..0896388 --- /dev/null +++ b/Help/release/dev/remove_directory-symlink.rst @@ -0,0 +1,6 @@ +remove_directory-symlink +------------------------ + +* The :manual:`cmake(1)` ``-E remove_directory`` command-line tool, + when given the path to a symlink to a directory, now removes just + the symlink. It no longer removes content of the linked directory. ----------------------------------------------------------------------- Summary of changes: Help/manual/cmake.1.rst | 3 ++- Help/release/dev/remove_directory-symlink.rst | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Help/release/dev/remove_directory-symlink.rst hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits