summaryrefslogtreecommitdiff
path: root/src/refdb_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 671029e0c..bb26fb66d 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -1274,9 +1274,7 @@ static int reflog_parse(git_reflog *log, const char *buf, size_t buf_size)
while (*buf && *buf != '\t' && *buf != '\n')
seek_forward(1);
- if (git_signature__parse(
- entry->committer, &ptr, buf + 1, NULL, *buf,
- log && log->db ? log->db->repo : NULL) < 0)
+ if (git_signature__parse(entry->committer, &ptr, buf + 1, NULL, *buf) < 0)
goto fail;
if (*buf == '\t') {