mbox series

[0/2] contrib/git-resurrect.sh: make it hash-agnostic

Message ID cover.1602139448.git.liu.denton@gmail.com (mailing list archive)
Headers show
Series contrib/git-resurrect.sh: make it hash-agnostic | expand

Message

Denton Liu Oct. 8, 2020, 6:44 a.m. UTC
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(-)