[MacPorts] #54786: git @2.14.1_1: SHA1 mismatch when cloning repo
MacPorts
noreply at macports.org
Sat Sep 9 01:47:39 UTC 2017
#54786: git @2.14.1_1: SHA1 mismatch when cloning repo
--------------------------+-------------------
Reporter: rickyzhang82 | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port: git
--------------------------+-------------------
Recently I upgrade macport in Tiger PPC. Upgrading git from
@2.9.3_0+credential_osxkeychain+doc+pcre+perl5_22+python27 to
@2.14.1_1+credential_osxkeychain+doc+pcre+perl5_24 cause a strange error
when cloning repo.
It alarmed SHA1 mismatch. I don't know if git itself compute SHA1 checksum
or it uses 3rd party library. Any ideas?
{{{
git clone --progress git://repo.or.cz/qgit4/redivivus.git
Cloning into 'redivivus'...
remote: Counting objects: 7471, done.
remote: Compressing objects: 100% (3028/3028), done.
remote: Total 7471 (delta 5767), reused 5653 (delta 4421)
Receiving objects: 100% (7471/7471), 1.93 MiB | 347.00 KiB/s, done.
fatal: pack is corrupted (SHA1 mismatch)
fatal: index-pack failed
Ricky at pg4:/tmp$ sudo port activate git
The following versions of git are currently installed:
1) git @2.9.3_0+credential_osxkeychain+doc+pcre+perl5_22+python27
2) git @2.14.1_1+credential_osxkeychain+doc+pcre+perl5_24 (active)
Enter a number to select an option: 1
---> Deactivating git @2.14.1_1+credential_osxkeychain+doc+pcre+perl5_24
---> Cleaning git
---> Activating git
@2.9.3_0+credential_osxkeychain+doc+pcre+perl5_22+python27
Ricky at pg4:/tmp$ git clone --progress git://repo.or.cz/qgit4/redivivus.git
Cloning into 'redivivus'...
remote: Counting objects: 7471, done.
remote: Compressing objects: 100% (3028/3028), done.
remote: Total 7471 (delta 5769), reused 5652 (delta 4421)
Receiving objects: 100% (7471/7471), 1.92 MiB | 386.00 KiB/s, done.
Resolving deltas: 100% (5769/5769), done.
Checking connectivity... done.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54786>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list