I have a dirty working tree, dirty because I made changes to source files and touched up some images. I was trying to add just the images to the index, so I ran this command
Case-insensitive file systems like Mac OS X's default setup will also play havoc. If you change 'directory' to 'Directory' you will not get git to recognize it unless you move to another temp folder, commit, move back, and commit again.