Fixed working directory/index mismatch

Because `git status -s` pads working directory changes with a space to put them in a different column than index changes, using `IFS=" "` results in changes that haven't been `git add`d yet showing as index changes anyway.
Changed to `IFS="\n"` to resolve.
Merge pull request #2 from amazingant/master

Fixed working directory/index mismatch