2014-09-05 00:38:10 +02:00
|
|
|
From: Andreas Stieger <andreas.stieger@gmx.de>
|
|
|
|
Date: Thu, 04 Sep 2014 23:09:09 +0100
|
|
|
|
Subject: Ignore .osc
|
|
|
|
Upstream: No
|
|
|
|
|
|
|
|
Ignore .osc
|
|
|
|
|
2013-10-27 04:27:57 +01:00
|
|
|
---
|
|
|
|
ConfigDefault.pm | 3 +++
|
|
|
|
t/ack-dump.t | 2 +-
|
|
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
2019-08-05 03:46:42 +02:00
|
|
|
Index: ack-v3.0.2/lib/App/Ack/ConfigDefault.pm
|
2010-11-16 11:41:59 +01:00
|
|
|
===================================================================
|
2019-08-05 03:46:42 +02:00
|
|
|
--- ack-v3.0.2.orig/lib/App/Ack/ConfigDefault.pm
|
|
|
|
+++ ack-v3.0.2/lib/App/Ack/ConfigDefault.pm
|
|
|
|
@@ -70,6 +70,9 @@ sub _options_block {
|
2019-08-21 15:35:24 +02:00
|
|
|
# https://www.mercurial-scm.org/
|
2013-07-23 02:07:16 +02:00
|
|
|
--ignore-directory=is:.hg
|
|
|
|
|
|
|
|
+# openSUSE Commander
|
|
|
|
+--ignore-directory=is:.osc
|
|
|
|
+
|
2019-08-21 15:35:24 +02:00
|
|
|
# Quilt
|
|
|
|
# https://directory.fsf.org/wiki/Quilt
|
2013-07-23 02:07:16 +02:00
|
|
|
--ignore-directory=is:.pc
|
2019-08-05 03:46:42 +02:00
|
|
|
Index: ack-v3.0.2/t/ack-dump.t
|
2010-11-16 11:41:59 +01:00
|
|
|
===================================================================
|
2019-08-05 03:46:42 +02:00
|
|
|
--- ack-v3.0.2.orig/t/ack-dump.t
|
|
|
|
+++ ack-v3.0.2/t/ack-dump.t
|
|
|
|
@@ -29,5 +29,5 @@ DUMP: {
|
2013-07-23 02:07:16 +02:00
|
|
|
is( scalar @perl, 2, 'Two specs for Perl' );
|
|
|
|
|
|
|
|
my @ignore_dir = grep { /ignore-dir/ } @results;
|
2014-09-05 00:38:10 +02:00
|
|
|
- is( scalar @ignore_dir, 24, 'Twenty-four specs for ignoring directories' );
|
|
|
|
+ is( scalar @ignore_dir, 25, 'Twenty-five specs for ignoring directories' );
|
2013-07-23 02:07:16 +02:00
|
|
|
}
|