.tpattributes文件中的递归模式匹配[TFS 2010] [英] Recursive Pattern match in .tpattributes file [TFS 2010]

查看:66
本文介绍了.tpattributes文件中的递归模式匹配[TFS 2010]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用.tpattributes文件来保留我项目中目录下所有文件的执行权限.但是,该属性似乎仅应用于顶层文件夹,并且我找不到使其递归的方法.

I'm trying to use a .tpattributes file to retain Execute permissions on all files under a directory in my project. However, it appears the attribute is only applied to the top level folder, and I can't find a way to make it recursive.

尝试1:

#Trying to prevent TFS from screwing up files like it loves to do
.**\/*:x

尝试2:

#Trying to prevent TFS from screwing up files like it loves to do
.*/*:x

此处的文档是'很有帮助,而且我找不到.tpattributes文件的任何其他文档.

The documentation here isn't very helpful, and I haven't been able to find any other documentation for .tpattributes files.

推荐答案

.tpattributes not 递归的.(实际上,它们不能,因为您可以拥有高级工作空间映射.)每个文件夹中都需要一个 .tpattributes .

.tpattributes are not recursive. (In fact, they cannot be, since you can have advanced workspace mappings.) You will need a .tpattributes in each folder.

可执行权限是自动处理的,而在TFS 2013及更高版本中不需要 .tpattributes .

Executable permissions are handled automatically, without the need for .tpattributes in TFS 2013 and newer.

这篇关于.tpattributes文件中的递归模式匹配[TFS 2010]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆