Should I merge .pbxproj files with git using merge=union?

前端 未结 2 1887
陌清茗
陌清茗 2020-12-05 10:34

I\'m wondering whether the merge=union option in .gitattributes makes sense for .pbxproj files.

The manpage states for this option:

Run 3-way

2条回答
  •  忘掉有多难
    2020-12-05 11:24

    I have been working with a large team lately and tried *.pbxproj merge=union, but ultimately had to remove it.

    The problem was that braces would become out of place on a regular basis, which made the files unreadable. It is true that tho does work most of the time - but fails maybe 1 out of 4 times.

    We are back to using *.pbxproj -crlf -merge for now. This seems to be the best solution that is workable for us.

提交回复
热议问题