chiark / gitweb /
test suite: dpkgsourceignores-docs: Use print-dpkg-source-ignores
[dgit.git] / dgit
diff --git a/dgit b/dgit
index fc9dac73573c3feefb844266fb5063198fa024e0..3c94f036ac144da9742718a75745ac1dc6b6e53a 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6425,6 +6425,15 @@ sub cmd_print_dgit_repos_server_source_url {
     print $url, "\n" or die $!;
 }
 
+sub pre_print_dpkg_source_ignores {
+    not_necessarily_a_tree();
+}
+sub cmd_print_dpkg_source_ignores {
+    badusage "no arguments allowed to dgit print-dpkg-source-ignores"
+       if @ARGV;
+    print "@dpkg_source_ignores\n" or die $!;
+}
+
 sub cmd_setup_mergechangelogs {
     badusage "no arguments allowed to dgit setup-mergechangelogs" if @ARGV;
     local $isuite = 'DGIT-SETUP-TREE';