gitignore problem appears to be bug in git 1.7.7.3, updated to 1.8.2.3 and gitignore seems to work as expected;