mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not delete ignored files from index
This commit is contained in:
@@ -139,8 +139,10 @@ abstract class BaseRepositoryManager(protected val dir: Path) : RepositoryManage
|
||||
return false
|
||||
}
|
||||
|
||||
lock.write {
|
||||
deleteFromIndex(path, isFile)
|
||||
if (!isPathIgnored(path)) {
|
||||
lock.write {
|
||||
deleteFromIndex(path, isFile)
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user