Andreas Stieger
a289ee76f3
ack 3.7.0 OBS-URL: https://build.opensuse.org/request/show/1068551 OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=39
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From: Andreas Stieger <andreas.stieger@gmx.de>
|
|
Date: Thu, 04 Sep 2014 23:09:09 +0100
|
|
Subject: Ignore .osc
|
|
Upstream: No
|
|
|
|
Ignore .osc
|
|
|
|
---
|
|
Index: ack-v3.7.0/lib/App/Ack/ConfigDefault.pm
|
|
===================================================================
|
|
--- ack-v3.7.0.orig/lib/App/Ack/ConfigDefault.pm
|
|
+++ ack-v3.7.0/lib/App/Ack/ConfigDefault.pm
|
|
@@ -70,6 +70,9 @@ sub _options_block {
|
|
# https://www.mercurial-scm.org/
|
|
--ignore-directory=is:.hg
|
|
|
|
+# openSUSE Commander
|
|
+--ignore-directory=is:.osc
|
|
+
|
|
# Quilt
|
|
# https://directory.fsf.org/wiki/Quilt
|
|
--ignore-directory=is:.pc
|
|
Index: ack-v3.7.0/t/ack-dump.t
|
|
===================================================================
|
|
--- ack-v3.7.0.orig/t/ack-dump.t
|
|
+++ ack-v3.7.0/t/ack-dump.t
|
|
@@ -29,7 +29,7 @@ DUMP: {
|
|
is( scalar @perl, 2, 'Two specs for Perl' );
|
|
|
|
my @ignore_dir = grep { /ignore-dir/ } @results;
|
|
- is( scalar @ignore_dir, 28, 'Twenty-eight specs for ignoring directories' );
|
|
+ is( scalar @ignore_dir, 29, 'Twenty-nine specs for ignoring directories' );
|
|
}
|
|
|
|
exit 0;
|