LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ack-ignore-osc.patch of Package ack (Project utilities)

---
 ConfigDefault.pm |    3 +++
 t/ack-dump.t     |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

Index: ack-2.10/ConfigDefault.pm
===================================================================
--- ack-2.10.orig/ConfigDefault.pm	2013-09-24 22:35:57.000000000 +0100
+++ ack-2.10/ConfigDefault.pm	2013-10-17 20:18:20.000000000 +0100
@@ -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.10/t/ack-dump.t
===================================================================
--- ack-2.10.orig/t/ack-dump.t	2013-09-24 22:35:57.000000000 +0100
+++ ack-2.10/t/ack-dump.t	2013-10-17 20:18:58.000000000 +0100
@@ -32,5 +32,5 @@ DUMP: {
     is( scalar @perl, 2, 'Two specs for Perl' );
 
     my @ignore_dir = grep { /ignore-dir/ } @results;
-    is( scalar @ignore_dir, 22, 'Twenty-two specs for ignoring directories' );
+    is( scalar @ignore_dir, 23, 'Twenty-three specs for ignoring directories' );
 }