Add ignore functionality to Repository#commit