diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-05-05 16:48:34 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-05 16:48:34 +0200 |
commit | 467cbec73d1c34c3f6c1e7ea66e1276e5e44299b (patch) | |
tree | eaeecb4f0f6e094111f38173372104805dd3fb6b /src/commit.c | |
parent | ce72e399d26a7b246f6425657b0c8a55d40159c9 (diff) | |
download | libgit2-467cbec73d1c34c3f6c1e7ea66e1276e5e44299b.tar.gz |
commit: make create_from_oids() accept plain oid
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index aec3e1e63..3dc647c9b 100644 --- a/src/commit.c +++ b/src/commit.c @@ -96,7 +96,6 @@ int git_commit_create_from_oids( git_odb *odb; assert(oid && repo && tree && parent_count >= 0); - assert(git_object_owner((const git_object *)tree) == repo); git_oid__writebuf(&commit, "tree ", tree); |