Git not asking to commit before switching branches
===

If I run git status:

    # On branch new-media
    # Changes not staged for commit:
    #   (use "git add <file>..." to update what will be committed)
    #   (use "git checkout -- <file>..." to discard changes in working directory)
    #
    #	modified:   .gitignore
    #	modified:   app/views/layouts/application.html.erb

Then I checkout the master: with `git checkout master`

    M	.gitignore
    M	app/views/layouts/application.html.erb
    Switched to branch 'master'

Before git stopped me from checkout other branches before I either stash or commit the changes I've made on the current one.