summaryrefslogtreecommitdiff
path: root/src/notes.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/notes.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/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index 8e622c64a..5028107d2 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -288,7 +288,7 @@ static int note_write(
/* TODO: should we apply filters? */
/* create note object */
- if ((error = git_blob_create_frombuffer(&oid, repo, note, strlen(note))) < 0)
+ if ((error = git_blob_create_from_buffer(&oid, repo, note, strlen(note))) < 0)
goto cleanup;
if ((error = manipulate_note_in_tree_r(