Skip to content

Commit

Permalink
Make ack aware of "lock" files
Browse files Browse the repository at this point in the history
  • Loading branch information
suan committed Feb 2, 2012
1 parent a1d233a commit e418d6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ack
Expand Up @@ -1588,6 +1588,7 @@ sub filetypes {
return 'skipped' unless is_searchable( $basename );

my $lc_basename = lc $basename;
return ('lock',TEXT) if $lc_basename eq 'lock';
return ('make',TEXT) if $lc_basename eq 'makefile' || $lc_basename eq 'gnumakefile';
return ('rake','ruby',TEXT) if $lc_basename eq 'rakefile';

Expand Down

0 comments on commit e418d6f

Please sign in to comment.