Commit e5994eb02d1f43dd5f9104854fb6fb7448264167

Arthur Schreiber 2014-01-02T16:56:09

Add missing `git_reference_symbolic_create_with_log`. It's exported in the headers, but the implementation was missing.

diff --git a/src/refs.c b/src/refs.c
index 83343f4..f60ac31 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -444,6 +444,21 @@ int git_reference_symbolic_create(
 	return reference__create(ref_out, repo, name, NULL, target, force, NULL, NULL);
 }
 
+int git_reference_symbolic_create_with_log(
+	git_reference **ref_out,
+	git_repository *repo,
+	const char *name,
+	const char *target,
+	int force,
+	const git_signature *signature,
+	const char *log_message)
+{
+	assert(target && signature && log_message);
+
+	return reference__create(
+		ref_out, repo, name, NULL, target, force, signature, log_message);
+}
+
 static int ensure_is_an_updatable_direct_reference(git_reference *ref)
 {
 	if (ref->type == GIT_REF_OID)