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

34 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
---
diff -Pdru ack-v3.3.1.orig/lib/App/Ack/ConfigDefault.pm ack-v3.3.1/lib/App/Ack/ConfigDefault.pm
--- ack-v3.3.1.orig/lib/App/Ack/ConfigDefault.pm 2020-01-13 20:18:17.000000000 +0100
+++ ack-v3.3.1/lib/App/Ack/ConfigDefault.pm 2020-01-22 14:32:56.451135251 +0100
@@ -70,6 +70,9 @@
# 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
diff -Pdru ack-v3.3.1.orig/t/internals/ack-dump.t ack-v3.3.1/t/internals/ack-dump.t
--- ack-v3.3.1.orig/t/internals/ack-dump.t 2020-01-13 20:18:17.000000000 +0100
+++ ack-v3.3.1/t/internals/ack-dump.t 2020-01-22 14:39:05.934290071 +0100
@@ -29,7 +29,7 @@
is( scalar @perl, 2, 'Two specs for Perl' );
my @ignore_dir = grep { /ignore-dir/ } @results;
- is( scalar @ignore_dir, 27, 'Twenty-seven specs for ignoring directories' );
+ is( scalar @ignore_dir, 28, 'Twenty-eight specs for ignoring directories' );
}
exit 0;