зеркало из https://github.com/microsoft/git.git
fetch() assumes we do not have the object.
Bugfix for the previous one. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
85d106c267
Коммит
029f6de377
2
fetch.c
2
fetch.c
|
@ -174,7 +174,7 @@ static int loop(void)
|
||||||
* the queue because we needed to fetch it first.
|
* the queue because we needed to fetch it first.
|
||||||
*/
|
*/
|
||||||
if (! (obj->flags & TO_SCAN)) {
|
if (! (obj->flags & TO_SCAN)) {
|
||||||
if (fetch(obj->sha1)) {
|
if (!has_sha1_file(obj->sha1) && fetch(obj->sha1)) {
|
||||||
report_missing(obj->type
|
report_missing(obj->type
|
||||||
? obj->type
|
? obj->type
|
||||||
: "object", obj->sha1);
|
: "object", obj->sha1);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче