contrib/git-resurrect.sh: use hash-agnostic OID pattern
authorDenton Liu <redacted>
Thu, 8 Oct 2020 06:44:40 +0000 (23:44 -0700)
committerJunio C Hamano <redacted>
Thu, 8 Oct 2020 18:48:56 +0000 (11:48 -0700)
commite37eae0c1e13cb418947383f7c803d9463bfa3d7
tree18a487563c2ca02594287cdd3e25b4767d77735c
parentd047154e7b2ab9c7191b0d72484012085051d521
contrib/git-resurrect.sh: use hash-agnostic OID pattern

Since Git now supports hashes other than SHA-1, the hash length isn't
guaranteed to be 40 characters. Replace $_x40 with a hash-agnostic OID
pattern.

Signed-off-by: Denton Liu <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/git-resurrect.sh
git clone https://git.99rst.org/PROJECT