Skip to content

Commit

Permalink
Added support for Go and Delphi. Ignores Monotone directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Oct 11, 2010
1 parent 1276c6c commit 15ff9d2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Ack.pm
Expand Up @@ -59,6 +59,7 @@ BEGIN {
'.hg' => 'Mercurial',
'.pc' => 'quilt',
'.svn' => 'Subversion',
_MTN => 'Monotone',
blib => 'Perl module building',
CVS => 'CVS',
RCS => 'RCS',
Expand All @@ -82,9 +83,11 @@ BEGIN {
cpp => [qw( cpp cc cxx m hpp hh h hxx )],
csharp => [qw( cs )],
css => [qw( css )],
delphi => [qw( pas int dfm nfm dof dpk dproj groupproj bdsgroup bdsproj )],
elisp => [qw( el )],
erlang => [qw( erl hrl )],
fortran => [qw( f f77 f90 f95 f03 for ftn fpp )],
go => [qw( go )],
haskell => [qw( hs lhs )],
hh => [qw( h )],
html => [qw( htm html shtml xhtml )],
Expand Down
8 changes: 8 additions & 0 deletions Changes
@@ -1,5 +1,13 @@
History file for ack. http://betterthangrep.com/

NEXT

[ENHANCEMENTS]
Added support for Go and Delphi.

Ignores Monotone's _MTN directories.


1.93_02 Wed Oct 6 21:39:58 CDT 2010
[FIXES]
--man and --version now return with an exit code of 0. They
Expand Down
3 changes: 3 additions & 0 deletions ack
Expand Up @@ -1198,6 +1198,7 @@ BEGIN {
'.hg' => 'Mercurial',
'.pc' => 'quilt',
'.svn' => 'Subversion',
_MTN => 'Monotone',
blib => 'Perl module building',
CVS => 'CVS',
RCS => 'RCS',
Expand All @@ -1221,9 +1222,11 @@ BEGIN {
cpp => [qw( cpp cc cxx m hpp hh h hxx )],
csharp => [qw( cs )],
css => [qw( css )],
delphi => [qw( pas int dfm nfm dof dpk dproj groupproj bdsgroup bdsproj )],
elisp => [qw( el )],
erlang => [qw( erl hrl )],
fortran => [qw( f f77 f90 f95 f03 for ftn fpp )],
go => [qw( go )],
haskell => [qw( hs lhs )],
hh => [qw( h )],
html => [qw( htm html shtml xhtml )],
Expand Down
2 changes: 1 addition & 1 deletion ack-help-dirs.txt
Expand Up @@ -107,7 +107,7 @@ File inclusion/exclusion:

Directories ignored by default:
autom4te.cache, blib, _build, .bzr, .cdv, cover_db, CVS, _darcs, ~.dep,
~.dot, .git, .hg, ~.nib, .pc, ~.plst, RCS, SCCS, _sgbak and .svn
~.dot, .git, .hg, _MTN, ~.nib, .pc, ~.plst, RCS, SCCS, _sgbak and .svn

Files not checked for type:
/~$/ - Unix backup files
Expand Down
2 changes: 2 additions & 0 deletions ack-help-types.txt
Expand Up @@ -18,9 +18,11 @@ Note that some extensions may appear in multiple types. For example,
--[no]cpp .cpp .cc .cxx .m .hpp .hh .h .hxx
--[no]csharp .cs
--[no]css .css
--[no]delphi .pas .int .dfm .nfm .dof .dpk .dproj .groupproj .bdsgroup .bdsproj
--[no]elisp .el
--[no]erlang .erl .hrl
--[no]fortran .f .f77 .f90 .f95 .f03 .for .ftn .fpp
--[no]go .go
--[no]haskell .hs .lhs
--[no]hh .h
--[no]html .htm .html .shtml .xhtml
Expand Down
2 changes: 1 addition & 1 deletion ack-help.txt
Expand Up @@ -107,7 +107,7 @@ File inclusion/exclusion:

Directories ignored by default:
autom4te.cache, blib, _build, .bzr, .cdv, cover_db, CVS, _darcs, ~.dep,
~.dot, .git, .hg, ~.nib, .pc, ~.plst, RCS, SCCS, _sgbak and .svn
~.dot, .git, .hg, _MTN, ~.nib, .pc, ~.plst, RCS, SCCS, _sgbak and .svn

Files not checked for type:
/~$/ - Unix backup files
Expand Down

0 comments on commit 15ff9d2

Please sign in to comment.