源树显示了soapUI保存项目时更改的文件负载 [英] source tree shows loads of files changed when soapUI saves the project

查看:152
本文介绍了源树显示了soapUI保存项目时更改的文件负载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在以bitbucket托管的SoapUI(ReadyAPI 1.3.x)复合项目中工作.

I am working in the SoapUI(ReadyAPI 1.3.x) composite project hosted in bitbucket.

对于代码管理,我使用SourceTree.

For the code management I use SourceTree.

当我拉出一个新项目并将其插入soapUI时,该项目第一次保存时,源目录树显示了所有被跟踪的文件.

When ever I pulled a new project and plug it in to soapUI, the first time the project gets saved, the source tree shows as allmost all the files chaged.

当我查看文件更改时,看不到可见的内容更改.

When I look at the file changes, I don't see a visible content change.

例如: [1] 我的测试套件中几乎没有图像文件,源代码树显示文件已删除并重新添加到同一位置(基本上它们显示为已移动,显然显示在同一位置).

Ex: [1] I have few image files in my test suite, the source tree shows the files are removed and added back to the same location (Basically they show as moved, obviously to the same location).

[2] xml测试用例也显示为已更新,但基本上内容保持不变.

[2] xml test cases also shown as updated , but basically the content remains the same.

soaUI似乎更改了文件二进制文件,并且更改被源树拾取.

It looks like the soaUI changes the file binaries, and that changes is picked up by the source tree.

这很烦人,我尝试为每个文件类型添加.gitattributes以下配置.

This is kind f annoying, I tried adding a .gitattributes the following config for every file type.

*.xml diff=tex

但是没有运气...

有人有任何线索...吗?

Does anyone have any clue ....?

推荐答案

请确保这些差异与行尾(eol)无关(lf与cflf).

Make sure those difference are not end-of-line (eol) related (lf vs. cflf).

如果是,请检查是否已将core.autocrlf之类的配置设置为true.
如果是这样,请将其设置为false,然后再次克隆您的存储库,以查看问题是否仍然存在.

If they are, check if you have a config like core.autocrlf set to true.
If, so, set it to false, and clone your repo again, to see if the issue persists.

确定了需要eol管理的特定文件后,将它们列出在 .gitattributes文件中,其中带有 core.eol指令.

Once you have identified specific files which requires eol management, list them in a .gitattributes file, with core.eol directives.

注意:我不知道'tex'是有效的配置值.

Note: I don't know about 'tex' as a valid config value.

*.atype -text

这将阻止.atype文件的规范化,无论其内容如何.

That would prevent .atype files from being normalized regardless of their content.

这篇关于源树显示了soapUI保存项目时更改的文件负载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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