summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Ang-Wanek <tylerw@axosoft.com>2019-08-07 07:21:27 -0700
committerTyler Ang-Wanek <tylerw@axosoft.com>2019-08-07 07:21:27 -0700
commit998f9c15fdca34bbfe6a3d92093afe9c7f886dcf (patch)
treef1da193c10b7846448bdff35f897d6c616abc418
parent8f68ad9df1b707bce1b5cd2cba3a00c6e87e5b15 (diff)
downloadlibgit2-998f9c15fdca34bbfe6a3d92093afe9c7f886dcf.tar.gz
fixup: strange indentation
-rw-r--r--src/commit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commit.c b/src/commit.c
index 49550d35e..d5f19df65 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -80,8 +80,8 @@ on_error:
}
static int validate_tree_and_parents(git_array_oid_t *parents, git_repository *repo, const git_oid *tree,
- git_commit_parent_callback parent_cb, void *parent_payload,
- const git_oid *current_id, bool validate)
+ git_commit_parent_callback parent_cb, void *parent_payload,
+ const git_oid *current_id, bool validate)
{
size_t i;
int error;
@@ -152,8 +152,8 @@ static int git_commit__create_internal(
goto cleanup;
error = git_commit__create_buffer_internal(&buf, author, committer,
- message_encoding, message, tree,
- &parents);
+ message_encoding, message, tree,
+ &parents);
if (error < 0)
goto cleanup;
@@ -582,7 +582,7 @@ const char *git_commit_body(git_commit *commit)
break;
if (*msg)
- commit->body = git__strndup(msg, end - msg + 1);
+ commit->body = git__strndup(msg, end - msg + 1);
}
return commit->body;