Skip to content

Instantly share code, notes, and snippets.

@cyx
Created April 14, 2010 10:54
Show Gist options
  • Save cyx/365676 to your computer and use it in GitHub Desktop.
Save cyx/365676 to your computer and use it in GitHub Desktop.
cd /Applications/PeepOpen.app/Contents/Resources/
ack ignore
# This returns the following in my copy
# FuzzyRecord.rb
# 65: ignorePatterns = /^(\.DS_Store|\.git|\.hg|\.svn|build|tmp|log|vendor\/(rails|gems|plugins))\b/i
# 66: next if relativeFilename.match(ignorePatterns)
# 69: # TODO: Should ignore dot directories
# COOL! Now we know where to tweak
# I changed the line
# ignorePatterns = /^(\.DS_Store|\.git|\.hg|\.svn|build|tmp|log|vendor\/(rails|gems|plugins))\b/i
#
# TO
#
# ignorePatterns = /^(\.DS_Store|\.git|\.hg|\.svn|build|tmp|log|solr|public\/system|vendor\/(rails|gems|plugins))\b/i
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment