Fixed issue #1943: Add "Ignore N items by extension" in Commit dialog

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>