Before committing, edit a git diff and apply it directly to the index