if (*next != line_termination)
die("update %s has extra input: %s", update->ref_name, next);
} else if (!line_termination)
if (*next != line_termination)
die("update %s has extra input: %s", update->ref_name, next);
} else if (!line_termination)
if (update->have_old && is_null_sha1(update->old_sha1))
die("delete %s given zero <oldvalue>", update->ref_name);
} else if (!line_termination)
if (update->have_old && is_null_sha1(update->old_sha1))
die("delete %s given zero <oldvalue>", update->ref_name);
} else if (!line_termination)
if (*next != line_termination)
die("delete %s has extra input: %s", update->ref_name, next);
if (*next != line_termination)
die("delete %s has extra input: %s", update->ref_name, next);
update_store_old_sha1("verify", update, value.buf);
hashcpy(update->new_sha1, update->old_sha1);
} else if (!line_termination)
update_store_old_sha1("verify", update, value.buf);
hashcpy(update->new_sha1, update->old_sha1);
} else if (!line_termination)
if (*next != line_termination)
die("verify %s has extra input: %s", update->ref_name, next);
if (*next != line_termination)
die("verify %s has extra input: %s", update->ref_name, next);