Git - polish discard changes dialogs (#240519)

* Git - polish git clean dialog

* Remove duplication

* More polish of the dialogs
This commit is contained in:
Ladislau Szomoru
2025-02-12 15:39:58 +01:00
committed by GitHub
parent 23213fe75d
commit deb13fce88
3 changed files with 115 additions and 116 deletions

View File

@@ -1373,7 +1373,7 @@ export class Repository implements Disposable {
}
async clean(resources: Uri[]): Promise<void> {
const config = workspace.getConfiguration('git', Uri.file(this.root));
const config = workspace.getConfiguration('git');
const untrackedChangesSoftDelete = config.get<boolean>('untrackedChangesSoftDelete', true) === true;
await this.run(