mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
Revert "commit: fix const declaration"
This reverts commit cf19ddc522, which
was breaking for several projects.
This commit is contained in:
@@ -366,7 +366,7 @@ GIT_EXTERN(int) git_commit_create(
|
||||
const char *message,
|
||||
const git_tree *tree,
|
||||
size_t parent_count,
|
||||
git_commit * const parents[]);
|
||||
const git_commit *parents[]);
|
||||
|
||||
/**
|
||||
* Create new commit in the repository using a variable argument list.
|
||||
@@ -512,7 +512,7 @@ GIT_EXTERN(int) git_commit_create_buffer(
|
||||
const char *message,
|
||||
const git_tree *tree,
|
||||
size_t parent_count,
|
||||
git_commit * const parents[]);
|
||||
const git_commit *parents[]);
|
||||
|
||||
/**
|
||||
* Create a commit object from the given buffer and signature
|
||||
@@ -581,7 +581,7 @@ typedef int (*git_commit_create_cb)(
|
||||
const char *message,
|
||||
const git_tree *tree,
|
||||
size_t parent_count,
|
||||
git_commit * const parents[],
|
||||
const git_commit *parents[],
|
||||
void *payload);
|
||||
|
||||
/** An array of commits returned from the library */
|
||||
|
||||
Reference in New Issue
Block a user