diff options
Diffstat (limited to 'src/reflog.c')
| -rw-r--r-- | src/reflog.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/reflog.c b/src/reflog.c index c0af60f49..ac481fb81 100644 --- a/src/reflog.c +++ b/src/reflog.c @@ -112,7 +112,6 @@ static int reflog_parse(git_reflog *log, const char *buf, size_t buf_size) entry->committer = git__malloc(sizeof(git_signature)); GITERR_CHECK_ALLOC(entry->committer); - entry->committer->version = GIT_SIGNATURE_VERSION; if (git_oid_fromstrn(&entry->oid_old, buf, GIT_OID_HEXSZ) < 0) goto fail; @@ -298,8 +297,6 @@ int git_reflog_append(git_reflog *reflog, const git_oid *new_oid, assert(reflog && new_oid && committer); - GITERR_CHECK_VERSION(committer, GIT_SIGNATURE_VERSION, "git_signature"); - if (reflog_entry_new(&entry) < 0) return -1; |
