git fsck 代表什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21151945/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does git fsck stand for?
提问by LopSae
What is the meaning in behind the fsck
command name?
fsck
命令名称后面的含义是什么?
The documentationof the command does not seem to mention what the name stands for.
命令的文档似乎没有提到名称代表什么。
回答by Barmar
回答by VonC
It was first called:
它最初被称为:
fsck-cached
(git 0.99), to check the repository for errors- then
fsck-objects
(git 0.99.8), in order to report what exactly is wrong with the object, instead of an ambiguous 'bad sha1 file'. - and finally
git fsck
(git 1.5.0, January 2007)
fsck-cached
(git 0.99),检查存储库是否有错误- 然后
fsck-objects
(git 0.99.8),为了报告对象究竟有什么问题,而不是一个模棱两可的“坏 sha1 文件”。 - 最后
git fsck
(git 1.5.0,2007 年 1 月)
It reflects that Git was initially built as a file system, with a graph of nodes and git fsck
is presented in this GitHub Trainingas a file system checkwhich verifies integrity and finds corrupt objects.
它反映了 Git 最初是作为一个文件系统构建的,带有节点图,并git fsck
在此GitHub 培训中作为文件系统检查呈现,用于验证完整性并查找损坏的对象。