зеркало из https://github.com/microsoft/git.git
Merge branch 'nd/untracked-cache'
Hotfix for the 'untracked-cache' topic that is already in 'master'. * nd/untracked-cache: read-cache: fix untracked cache invalidation when split-index is used
This commit is contained in:
Коммит
6f59058e49
|
@ -999,6 +999,7 @@ static int add_index_entry_with_check(struct index_state *istate, struct cache_e
|
||||||
}
|
}
|
||||||
pos = -pos-1;
|
pos = -pos-1;
|
||||||
|
|
||||||
|
if (!(option & ADD_CACHE_KEEP_CACHE_TREE))
|
||||||
untracked_cache_add_to_index(istate, ce->name);
|
untracked_cache_add_to_index(istate, ce->name);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче