Expand description
Build tree objects from index entries (git write-tree core logic).
Functionsยง
- write_
tree_ from_ index - Build and write tree object(s) from index entries and return the tree OID.
- write_
tree_ from_ index_ subset - Build and write tree object(s) from index entries and return the tree OID.
- write_
tree_ partial_ from_ index - Build a tree for a partial commit: paths listed in
paths_from_index(repository-relative, UTF-8 path bytes) are taken fromindex; every other path is copied frombase_tree_oid(typicallyHEAD^{tree}).