b69ccd4a5b
- 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
26 lines
778 B
Diff
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' );
|
|
}
|