BUG: No way to set fsck.<msg-id> when cloning
- From
Thomas Braun <thomas.braun@virtuell-zuhause.de>
- Date
- May 24, 2018, 20:48 UTC
- Message-ID
- <3e4f0b82-b67a-24d2-c89e-efbe9ee45dd4@virtuell-zuhause.de>
- In-Reply-To
- <87vabd6pp2.fsf@evledraar.gmail.com>
Am 24.05.2018 um 17:25 schrieb Ævar Arnfjörð Bjarmason:
Show 11 quoted lines
> When I do: > > git -c fetch.fsckObjects=true clone git@github.com:robbyrussell/oh-my-zsh.git > > I get: > > error: object 2b7227859263b6aabcc28355b0b994995b7148b6: zeroPaddedFilemode: contains zero-padded file modes > fatal: Error in object > fatal: index-pack failed > > [...]
Doing
git clone --config transfer.fsckobjects=false --config receive.fsckobjects=false --config fetch.fsckobjects=false git@github.com:robbyrussell/oh-my-zsh.git
does the trick here (stolen from [1]).
$ git --version git version 2.17.0.windows.1
I don't know why though.
[1]: https://github.com/michaeljones/breathe/issues/340#issuecomment-390775142