什么信息“重写...(90%)”在git commit之后意味着什么? [英] What does the message "rewrite ... (90%)" after a git commit mean?

查看:119
本文介绍了什么信息“重写...(90%)”在git commit之后意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当git执行提交时,它会用类似于重写foobar.bin(76%)的方式重写二进制文件。那是什么 %?它是从旧文件更改百分比还是保留百分比?我知道git使用二进制增量来表示文件,但我不知道%代表重写了多少,并且它似乎不在的帮助页面中> git help commit

谢谢!

解决方案

测量相似度指数。相似度指数是未更改行数的百分比。 git认为你的文件是文本。


When git does a commit it rewrites binary files with something similar to rewrite foobar.bin (76%). What is that %? Is it percent changed or percent retained from the older file. I know that git uses a binary delta for files, but I just don't know how much of a rewrite the % represents and it doesn't seem to be in the help page for git help commit.

Thanks!

解决方案

Its a measure of the similarity index. The similarity index is the percentage of unchanged lines. git thinks your file is text.

这篇关于什么信息“重写...(90%)”在git commit之后意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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