SHA256
1
0
forked from pool/ack
ack/ack-ignore-osc.patch
OBS User mrdocs b69ccd4a5b Accepting request 184032 from home:namtrac:bugfix
- Update to version 2.0.4
  * Major update, see http://beyondgrep.com/ack-2.0/ for details
- Refresh ack-ignore-osc.patch, ack-add_spec.patch

OBS-URL: https://build.opensuse.org/request/show/184032
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=14
2013-07-23 00:07:16 +00:00

26 lines
778 B
Diff

Index: ack-2.04/ConfigDefault.pm
===================================================================
--- ack-2.04.orig/ConfigDefault.pm
+++ ack-2.04/ConfigDefault.pm
@@ -46,6 +46,9 @@ sub _options_block {
# Mercurial
--ignore-directory=is:.hg
+# openSUSE Commander
+--ignore-directory=is:.osc
+
# quilt
--ignore-directory=is:.pc
Index: ack-2.04/t/ack-dump.t
===================================================================
--- ack-2.04.orig/t/ack-dump.t
+++ ack-2.04/t/ack-dump.t
@@ -32,5 +32,5 @@ DUMP: {
is( scalar @perl, 2, 'Two specs for Perl' );
my @ignore_dir = grep { /ignore-dir/ } @results;
- is( scalar @ignore_dir, 20, 'Twenty specs for ignoring directories' );
+ is( scalar @ignore_dir, 21, 'Twenty specs for ignoring directories' );
}