extensions/git/src/repository.ts/ProgressManager/constructor
class ProgressManager:	constructor(private repository: Repository) {
		const onDidChange = filterEvent(workspace.onDidChangeConfiguration, e => e.affectsConfiguration('git', Uri.file(this.repository.root)));
		onDidChange(_ => this.updateEnablement());
		this.updateEnablement();

		this.repository.onDidChangeOperations(() => {
			const commitInProgress = this.repository.operations.isRunning(Operation.Commit);

			this.repository.sourceControl.inputBox.enabled = !commitInProgress;
			commands.executeCommand('setContext', 'commitInProgress', commitInProgress);
		});
	}