#2294 fixed: Commit dialog hangs for hours on selecting or deselecting many files