mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-26 12:56:37 -05: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