зеркало из https://github.com/microsoft/git.git
shallow clone: unparse and reparse an unshallowed commit
Otherwise we would not read the real parents from the commit object.
This commit is contained in:
Родитель
c6702f4b95
Коммит
176d45cb20
|
@ -582,6 +582,7 @@ static void receive_needs(void)
|
|||
object->flags &= ~CLIENT_SHALLOW;
|
||||
/* make sure the real parents are parsed */
|
||||
unregister_shallow(object->sha1);
|
||||
object->parsed = 0;
|
||||
parse_commit((struct commit *)object);
|
||||
parents = ((struct commit *)object)->parents;
|
||||
while (parents) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче