root@d8acdd68f269:/source_code/mesos# git log commit 54227a33b68d83b97ef1a7c14283351d45322317 (grafted, HEAD -> master, origin/master, origin/HEAD) Author: Andrei Sekretenko <asekretenko@apache.org> Date: Fri Feb 28 22:39:54 2020 +0100
Got rid of passing Shared<> into `Subscribers::Subscriber::send(...)`.
Now that operator API events are authorized synchronously, `Subscribers::Subscriber::send(...)` is no longer deferred, and copying arguments of `Subscribers::send()` into `Shared` becomes unnecessary.
Review: https://reviews.apache.org/r/72179
那么我们要如何把之前的历史重新再 pull 下来呢?
解决方案
实际上git fetch 专门有个参数,用来将浅克隆转换为完整克隆。
1 2 3 4
root@d8acdd68f269:/source_code/mesos# git fetch --help ... --unshallow Convert a shallow repository to a complete one, removing all the limitations imposed by shallow repositories.