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

31 lines
1.0 KiB
Diff
Raw Normal View History

---
ConfigDefault.pm | 3 +++
t/ack-dump.t | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
Index: ack-2.12/ConfigDefault.pm
===================================================================
--- ack-2.12.orig/ConfigDefault.pm 2013-11-30 18:34:00.000000000 +0000
+++ ack-2.12/ConfigDefault.pm 2014-01-17 22:56:49.000000000 +0000
@@ -47,6 +47,9 @@ sub _options_block {
# Mercurial
--ignore-directory=is:.hg
+# openSUSE Commander
+--ignore-directory=is:.osc
+
# quilt
--ignore-directory=is:.pc
Index: ack-2.12/t/ack-dump.t
===================================================================
--- ack-2.12.orig/t/ack-dump.t 2013-11-30 18:34:00.000000000 +0000
+++ ack-2.12/t/ack-dump.t 2014-01-17 22:56:35.000000000 +0000
@@ -32,5 +32,5 @@ DUMP: {
is( scalar @perl, 2, 'Two specs for Perl' );
my @ignore_dir = grep { /ignore-dir/ } @results;
- is( scalar @ignore_dir, 23, 'Twenty-three specs for ignoring directories' );
+ is( scalar @ignore_dir, 24, 'Twenty-four specs for ignoring directories' );
}