与diff比较diff? [英] diff'ing diffs with diff?

查看:90
本文介绍了与diff比较diff?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道两个补丁实际上是否相同。

I need to know if the two patches are effectively the same.

我有一个旧的补丁文件和一个用unix diff命令创建的新补丁文件。只是比较补丁会报告由于创建补丁时的时间戳而导致的差异。

I have an old patch file and new patch file created with the unix diff command. Just diff'ing the patches reports differences due to the timestamp when the patch was created.

有没有一种方法(使用diff?)可以可靠地告诉我两者是否补丁实际上是相同的吗?

Is there a way (with diff?) that can reliably tell me if the two patches are effectively the same?

推荐答案

使用 interdiff 来自 patchutils

这篇关于与diff比较diff?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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