Sync with Git 2.24.1

This commit is contained in:
Junio C Hamano
2019-12-09 22:17:55 -08:00
47 changed files with 992 additions and 88 deletions

View File

@ -2063,7 +2063,8 @@ static int merged_entry(const struct cache_entry *ce,
invalidate_ce_path(old, o);
}
do_add_entry(o, merge, update, CE_STAGEMASK);
if (do_add_entry(o, merge, update, CE_STAGEMASK) < 0)
return -1;
return 1;
}