Patch Set 3: Looks good to me, but someone else must approve; Build Successful; IP review completed

this didn't work only when setting the commit -o option, i.e. commit using commit dialog which is using this option failed whereas committing using the staging view succeeded.

- added a test
- improved commit message