File ack-ignore-osc.patch of Package ack

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-2.14/ConfigDefault.pm
===================================================================
--- ack-2.14.orig/ConfigDefault.pm	2014-09-04 22:13:22.000000000 +0100
+++ ack-2.14/ConfigDefault.pm	2014-09-04 22:13:31.000000000 +0100
@@ -58,6 +58,9 @@ sub _options_block {
 # http://mercurial.selenic.com/
 --ignore-directory=is:.hg
 
+# openSUSE Commander
+--ignore-directory=is:.osc
+
 # quilt
 # http://directory.fsf.org/wiki/Quilt
 --ignore-directory=is:.pc
Index: ack-2.14/t/ack-dump.t
===================================================================
--- ack-2.14.orig/t/ack-dump.t	2014-09-04 22:13:31.000000000 +0100
+++ ack-2.14/t/ack-dump.t	2014-09-04 22:14:07.000000000 +0100
@@ -31,5 +31,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' );
 }