summaryrefslogtreecommitdiff
path: root/src/patch_parse.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-11-21 12:27:03 -0500
committerEdward Thomson <ethomson@github.com>2016-05-26 13:01:08 -0500
commit440e3bae10a4758d5de8d7b8699bf4c412c1a163 (patch)
tree281ea92c4e39070bab916650ef06129ce876afc0 /src/patch_parse.c
parent00e63b36202be18b1dd1690049f8cbb755132f1b (diff)
downloadlibgit2-440e3bae10a4758d5de8d7b8699bf4c412c1a163.tar.gz
patch: `git_patch_from_patchfile` -> `git_patch_from_buffer`
Diffstat (limited to 'src/patch_parse.c')
-rw-r--r--src/patch_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patch_parse.c b/src/patch_parse.c
index 46ecae73f..9421bb39b 100644
--- a/src/patch_parse.c
+++ b/src/patch_parse.c
@@ -956,7 +956,7 @@ static void patch_parsed__free(git_patch *p)
git__free(patch);
}
-int git_patch_from_patchfile(
+int git_patch_from_buffer(
git_patch **out,
const char *content,
size_t content_len,