fetch: don't redundantly NULL something calloc() gave us
[gitweb.git] / remote-testsvn.c
index 0ff4a312629d4ed4250a076f39a9d78e76917158..bcebb4c789567eb4017a3a0132ba55c59c427991 100644 (file)
@@ -174,7 +174,7 @@ static int cmd_import(const char *line)
        struct child_process svndump_proc = CHILD_PROCESS_INIT;
        const char *command = "svnrdump";
 
-       if (read_ref(private_ref, head_oid.hash))
+       if (read_ref(private_ref, &head_oid))
                startrev = 0;
        else {
                note_msg = read_ref_note(&head_oid);