Instead of going through the usual steps of reading a tree recursively into an index, modifying it and writing it back out as a tree, introduce a function to perform simple updates more efficiently. `git_tree_create_updated` avoids reading trees which are not modified and supports upsert and delete operations. It is not as versatile as modifying the index, but it makes some common operations much more efficient.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
blob | Loading commit data... | |
commit | Loading commit data... | |
raw | Loading commit data... | |
tag | Loading commit data... | |
tree | Loading commit data... | |
cache.c | Loading commit data... | |
lookup.c | Loading commit data... | |
lookupbypath.c | Loading commit data... | |
message.c | Loading commit data... | |
peel.c | Loading commit data... | |
shortid.c | Loading commit data... |