上传者: lida2003
|
上传时间: 2021-10-31 22:32:03
|
文件大小: 3KB
|
文件类型: -
如何简单计算patch代码变化量?
# How to use the script?
# Please issue the following commands: $cat src/test.patch |grep @@ |./patch_statistic.sh
# We have tested it with u-boot-1.1.6_100ask24x0.patch and kernel patch (patch-3.2-rc4)
# $ cat patch-3.2-rc4 |grep @@ |./patch_statistic.sh
# $ cat u-boot-1.1.6_100ask24x0.patch |grep @@ |./patch_statistic.sh