SHA256
1
0
forked from pool/ack
ack/ack-ignore-osc.patch

38 lines
1.1 KiB
Diff
Raw Normal View History

From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Thu, 04 Sep 2014 23:09:09 +0100
Subject: Ignore .osc
Upstream: No
Ignore .osc
---
ConfigDefault.pm | 3 +++
t/ack-dump.t | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
Index: ack-v3.0.2/lib/App/Ack/ConfigDefault.pm
===================================================================
--- 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 {
# 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.0.2/t/ack-dump.t
===================================================================
--- ack-v3.0.2.orig/t/ack-dump.t
+++ ack-v3.0.2/t/ack-dump.t
@@ -29,5 +29,5 @@ DUMP: {
is( scalar @perl, 2, 'Two specs for Perl' );
my @ignore_dir = grep { /ignore-dir/ } @results;
- is( scalar @ignore_dir, 24, 'Twenty-four specs for ignoring directories' );
+ is( scalar @ignore_dir, 25, 'Twenty-five specs for ignoring directories' );
}