summaryrefslogtreecommitdiff
path: root/include/git2/sys/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-02-23 18:40:43 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-02-23 18:40:43 +0000
commit790aae778df9bf4809e3c1e772d4d948c1cc2aa3 (patch)
tree2a60af5b591787527c22aca2921f5ab7189aa2f1 /include/git2/sys/commit.h
parent5a6a3c00acbd42038b50d830c7dd4a0c5c52052c (diff)
downloadlibgit2-790aae778df9bf4809e3c1e772d4d948c1cc2aa3.tar.gz
odb: rename git_odb_backend_malloc for consistency
The `git_odb_backend_malloc` name is a system function that is provided for custom ODB backends and allows them to allocate memory for an ODB object in the read callback. This is important so that libgit2 can later free the memory used by an ODB object that was read from the custom backend. However, the name _suggests_ that it actually allocates a `git_odb_backend`. It does not; rename it to make it clear that it actually allocates backend _data_.
Diffstat (limited to 'include/git2/sys/commit.h')
0 files changed, 0 insertions, 0 deletions