rails_vcstatus_logger

It adds current state of version control to the log when you start the server.

  • Currently only supports git

Adds current version hash and result of ‘git diff` The idea is that you can be sure about what source was running when you look in the log. I recently had a situation where i wasn’t sure when a change was put up on the live server.

Please add support for your vc system and send me a pull request!

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
    
  • Send me a pull request. Bonus points for topic branches.

Copyright © 2009 Bjorn Blomqvist. See LICENSE for details.