source tree shows loads of files changed when soapUI saves the project

北战南征 提交于 2019-12-07 18:58:47

问题


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

For the code management I use SourceTree.

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.

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 test cases also shown as updated , but basically the content remains the same.

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

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

*.xml diff=tex

But no luck...

Does anyone have any clue ....?


回答1:


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

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.

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

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

*.atype -text

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



来源:https://stackoverflow.com/questions/32216692/source-tree-shows-loads-of-files-changed-when-soapui-saves-the-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!