Skip to content

Commit e4d4511

Browse files
committed
Merge remote-tracking branch 'carlos/uninitialsed'
2 parents af25284 + 4c3c706 commit e4d4511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/repository.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -807,11 +807,11 @@ Repository_create_commit(Repository *self, PyObject *args)
807807

808808
len = py_oid_to_git_oid(py_oid, &oid);
809809
if (len == 0)
810-
goto out;
810+
return NULL;
811811

812812
message = py_str_borrow_c_str(&tmessage, py_message, encoding);
813813
if (message == NULL)
814-
goto out;
814+
return NULL;
815815

816816
err = git_tree_lookup_prefix(&tree, self->repo, &oid, len);
817817
if (err < 0) {

0 commit comments

Comments
 (0)