mirror of
https://github.com/git/git.git
synced 2026-04-13 02:10:06 +02:00
To aid the effort, extract a new function, check_old_oid(), and use it in the two places where the read value of the reference has to be checked against update->old_sha1. Update tests to reflect the improvements. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 KiB
Executable File
13 KiB
Executable File