Since Git supports hashes other than SHA-1, the hardcoded $_x40 used to match OIDs is no longer correct. Replace it with a hash-agnostic version. While we're at it fix some indent issues. There are some other style issues in the script but I'll leave those as out-of-scope. Denton Liu (2): contrib/git-resurrect.sh: indent with tabs contrib/git-resurrect.sh: use hash-agnostic OID pattern contrib/git-resurrect.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 2.29.0.rc0.261.g7178c9af9c