Git 绗竴鐗堟簮浠g爜
資深大佬 : jatsz 10
https://github.com/git/git/commit/e83c5163316f89bfbde7d9ab23ca2e25604af290
鐚涗竴鐪嬫湁绉嶉敊瑙夛細灏辫繖锛熸垜涔熻兘鍐欍€?/p>
大佬有話說 (16)
https://github.com/git/git/commit/e83c5163316f89bfbde7d9ab23ca2e25604af290
鐚涗竴鐪嬫湁绉嶉敊瑙夛細灏辫繖锛熸垜涔熻兘鍐欍€?/p>
There are two object abstractions: the “object database”, and the
“current directory cache”.
The Object Database (SHA1_FILE_DIRECTORY)
The object database is literally just a content-addressable collection
of objects. All objects are named by their content, which is
approximated by the SHA1 hash of the object itself. Objects may refer
to other objects (by referencing their SHA1 hash), and so you can build
up a hierarchy of objects.