mirror of
https://github.com/git/git.git
synced 2024-11-18 01:54:19 +01:00
Merge branch 'maint'
* maint: read-tree --aggressive: remove deleted entry from the working tree.
This commit is contained in:
commit
2486927d2e
@ -560,9 +560,11 @@ static int threeway_merge(struct cache_entry **stages)
|
||||
*/
|
||||
if ((head_deleted && remote_deleted) ||
|
||||
(head_deleted && remote && remote_match) ||
|
||||
(remote_deleted && head && head_match))
|
||||
(remote_deleted && head && head_match)) {
|
||||
if (index)
|
||||
return deleted_entry(index, index);
|
||||
return 0;
|
||||
|
||||
}
|
||||
/*
|
||||
* Added in both, identically.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user