有没有一种方法可以防止将代码注释标记为从版本控制获得的差异更改? (CVS / SVN) [英] Is there a way to prevent code comments to be marked as changes in the diffs obtained from version control? (CVS/SVN)

查看:67
本文介绍了有没有一种方法可以防止将代码注释标记为从版本控制获得的差异更改? (CVS / SVN)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以防止将代码注释标记为从版本控制获得的差异更改? (CVS / SVN)我讨厌由于只有很少的更新(如log或id)对CVS信息的注释而显示100项更改的差异。

Is there a way to prevent code comments to be marked as changes in the diffs obtained from version control? (CVS/SVN) I hate the differences showing 100's of changes when there are only a handful due to the update in the comments for CVS info like log or id.

推荐答案

可能要回答另一个问题:

It might come down to answering another question:

在源文件上包含历史记录日志和文件ID等版本信息是否有用?

这篇关于有没有一种方法可以防止将代码注释标记为从版本控制获得的差异更改? (CVS / SVN)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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