pub const EMPTY_TREE_SHA1: &str = "4b825dc642cb6eb9a060e54bf8d69288fbee4904";Expand description
Git’s well-known SHA-1 empty-tree object id. This value exists only in a
SHA-1 repository: a repo created with extensions.objectFormat=sha256 has a
different empty-tree id (and this SHA-1 one resolves to no object there), so
this constant is not a universal stand-in for HEAD when diffing an unborn
working tree. For the id that matches a repository’s active object format, use
Git::empty_tree_oid, which asks git for it — that is what
diff_text(DiffSpec::WorkingTree) uses on an unborn repo.