Be careful not to add trailing whitespace.  `git gui` should highlight these for you.