浏览代码

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.
Brad King 8 年之前
父节点
当前提交
6449063784
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Utilities/Scripts/update-kwsys.bash

+ 1 - 0
Utilities/Scripts/update-kwsys.bash

@@ -15,6 +15,7 @@ readonly paths="
 
 extract_source () {
     git_archive
+    disable_custom_gitattributes
 }
 
 export HOOKS_ALLOW_KWSYS=1