What is git actually doing when it says it is “resolving deltas”?

后端 未结 3 1565
一向
一向 2020-11-30 18:09

During the first clone of a repository, git first receives the objects (which is obvious enough), and then spends about the same amount of time \"resolving deltas\". What\'

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 18:51

    Amber seems to be describing the object model that Mercurial or similar uses. Git does not store the deltas between subsequent versions of an object, but rather full snapshots of the object, every time. It then compresses these snapshots using delta compression, trying to find good deltas to use, regardless of where in the history these exist.

提交回复
热议问题