https://github.com/Kitware/CMake
Revision 7bad99b0d3fb50853937d99cd68eb340a0975156 authored by Aleix Pol on 11 January 2017, 18:08:04 UTC, committed by Brad King on 11 January 2017, 18:48:41 UTC
`cmsys::SystemTools::SplitPath` will return empty segments on paths
where there's duplicaded consequent slashes (e.g.  `/home/dir/my//stuff`).
This makes the cmFileWatcher choke.  Teach cmFileMonitor to skip these
empty segments.

Closes: #16531
1 parent 68d1366
Raw File
Tip revision: 7bad99b0d3fb50853937d99cd68eb340a0975156 authored by Aleix Pol on 11 January 2017, 18:08:04 UTC
cmake-server: Do not try watching subdirectories with empty names
Tip revision: 7bad99b
.hooks-config.bash
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
# during git commit after local hooks have been installed.

hooks_chain_pre_commit="Utilities/Git/pre-commit"
hooks_chain_commit_msg="Utilities/Git/commit-msg"
hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg"
back to top