diff options
author | Edward Thomson <ethomson@github.com> | 2017-03-03 13:26:29 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2017-03-03 14:12:00 +0000 |
commit | 52d03f37f70ebde3e0a7794a60dbf68d0e69b9e8 (patch) | |
tree | ba8f647aca21274e92de8d3fecfa85199aa8cde3 /src/odb.h | |
parent | 3348570a0c544747f3a916010ee6064a91f98996 (diff) | |
download | libgit2-ethomson/freshen_trees.tar.gz |
git_commit_create: freshen tree objects in commitethomson/freshen_trees
Freshen the tree object that a commit points to during commit time.
Diffstat (limited to 'src/odb.h')
-rw-r--r-- | src/odb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -98,6 +98,9 @@ int git_odb__read_header_or_object( git_odb_object **out, size_t *len_p, git_otype *type_p, git_odb *db, const git_oid *id); +/* freshen an entry in the object database */ +int git_odb__freshen(git_odb *db, const git_oid *id); + /* fully free the object; internal method, DO NOT EXPORT */ void git_odb_object__free(void *object); |