mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
update-kwsys: Disable custom gitattributes during import
The KWSys `.gitattributes` file now defines custom attributes. Git does not support these in a subdirectory where we are about to place the content, so comment them out during import. This also ensures that the `our-c-style` attribute on KWSys sources does not activate the `format.clang-format` attribute on the third-party import branch.
This commit is contained in:
1 parent
f1a5583901
commit
6449063784
1 file changed
+1
@@ -15,6 +15,7 @@ readonly paths="
|
||||
|
||||
extract_source () {
|
||||
git_archive
|
||||
disable_custom_gitattributes
|
||||
}
|
||||
|
||||
export HOOKS_ALLOW_KWSYS=1
|
||||
|
||||
Reference in new issue
Block a user