summaryrefslogtreecommitdiff
path: root/src/apply.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-08 17:46:04 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-16 00:16:49 +0100
commit08f392080cfd7e08972820d8147dc06432e7c4bf (patch)
tree14fe06510232924fc5e164d979a32980216104a0 /src/apply.c
parent5d92e54745eaad2c89aa6457d504411ceee3a4f4 (diff)
downloadlibgit2-08f392080cfd7e08972820d8147dc06432e7c4bf.tar.gz
blob: add underscore to `from` functions
The majority of functions are named `from_something` (with an underscore) instead of `fromsomething`. Update the blob functions for consistency with the rest of the library.
Diffstat (limited to 'src/apply.c')
-rw-r--r--src/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c
index fdafa662e..f876e437e 100644
--- a/src/apply.c
+++ b/src/apply.c
@@ -532,7 +532,7 @@ static int apply_one(
if (delta->status != GIT_DELTA_DELETED) {
if ((error = git_apply__patch(&post_contents, &filename, &mode,
pre_contents.ptr, pre_contents.size, patch, opts)) < 0 ||
- (error = git_blob_create_frombuffer(&post_id, repo,
+ (error = git_blob_create_from_buffer(&post_id, repo,
post_contents.ptr, post_contents.size)) < 0)
goto done;