diff options
author | John Haley <johnh@axosoft.com> | 2016-05-04 11:14:17 -0700 |
---|---|---|
committer | John Haley <johnh@axosoft.com> | 2016-05-04 11:15:56 -0700 |
commit | 5785ae9b5e315a2aca64ee4bac1b31bdab84c657 (patch) | |
tree | 8907ce80f7f68e0b37ea3874b45d04418177306f /src/commit.c | |
parent | 4f22ccb9793d765d09032898e913690d088d6518 (diff) | |
download | libgit2-5785ae9b5e315a2aca64ee4bac1b31bdab84c657.tar.gz |
Fix initial commit test
`test_commit_commit__create_initial_commit_parent_not_current` was not correctly
testing that `HEAD` was not changed. Now we grab the oid that it was pointing to
before the call to `git_commit_create` and the oid that it's pointing to afterwards
and compare those.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions