Skip to content

Instantly share code, notes, and snippets.

View jespr's full-sized avatar
😃

Jesper Christiansen jespr

😃
  • San Francisco, California
View GitHub Profile
@jespr
jespr / hashrocket
Created October 19, 2012 08:04 — forked from libo/hashrocket
No hashrocket pre-commit
#!/usr/bin/env ruby
# Inspiration from:
# http://jish.github.com/pre-commit/
# https://gist.github.com/2711625
messages = []
HASHROCKET_PATTERN = ":[@$_A-Za-z][_A-Za-z0-9]*[=!?]? *=> *"
# Find the names of all the filenames that have been (A)dded (C)opied or (M)odified