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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux