summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurence McGlashan <Laurence.McGlashan@mathworks.co.uk>2020-01-15 10:30:00 +0000
committerLaurence McGlashan <Laurence.McGlashan@mathworks.co.uk>2020-01-15 10:30:00 +0000
commit1bddbd02a6200d76d50a880412e407409f7b1be3 (patch)
tree897a9864c3c5b13df7b5a8ac89a4f91ed71a3208 /include
parentcc4f4cbea48ac00a5edec1b3570ac3d2ef10fe77 (diff)
downloadlibgit2-1bddbd02a6200d76d50a880412e407409f7b1be3.tar.gz
merge: Return non-const git_repository from git_merge_driver_source_repo accessor.
Diffstat (limited to 'include')
-rw-r--r--include/git2/sys/merge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/merge.h b/include/git2/sys/merge.h
index bd0a8a4b7..ef4bc5aca 100644
--- a/include/git2/sys/merge.h
+++ b/include/git2/sys/merge.h
@@ -41,7 +41,7 @@ GIT_EXTERN(git_merge_driver *) git_merge_driver_lookup(const char *name);
typedef struct git_merge_driver_source git_merge_driver_source;
/** Get the repository that the source data is coming from. */
-GIT_EXTERN(const git_repository *) git_merge_driver_source_repo(
+GIT_EXTERN(git_repository *) git_merge_driver_source_repo(
const git_merge_driver_source *src);
/** Gets the ancestor of the file to merge. */