fatal: early EOF fatal: index-pack failed

后端 未结 30 1214
滥情空心
滥情空心 2020-11-22 10:51

I have googled and found many solutions but none work for me.

I am trying to clone from one machine by connecting to the remote server which is in the LAN network.

30条回答
  •  感情败类
    2020-11-22 11:35

    Setting below's config doesn't work for me.

    [core] 
    packedGitLimit = 512m 
    packedGitWindowSize = 512m 
    [pack] 
    deltaCacheSize = 2047m 
    packSizeLimit = 2047m 
    windowMemory = 2047m
    

    As previous comment, it might the memory issue from git. Thus, I try to reduce working threads(from 32 to 8). So that it won't get much data from server at the same time. Then I also add "-f " to force to sync other projects.

    -f: Proceed with syncing other projects even if a project fails to sync.
    

    Then it works fine now.

    repo sync -f -j8
    

提交回复
热议问题