commit: fix patch hunk editing with "commit -p -m"