src/vs/editor/common/services/modelService.ts/ModelService/_shouldRestoreUndoStack
class ModelService:	private _shouldRestoreUndoStack(): boolean {
		const result = this._configurationService.getValue('files.restoreUndoStack');
		if (typeof result === 'boolean') {
			return result;
		}
		return true;
	}