diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-16 16:59:51 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-17 13:46:14 +0100 |
commit | f804739f22b6b6ea11aa6dae56b3b70cb36f8280 (patch) | |
tree | 9a0113cb350e4e0c03895d0beffe3cb6865ae1c2 | |
parent | 44fa80787dee7a78629768a78041ded8c309addc (diff) |
Quilt mode reporting: Only print warning about quilt once
-rwxr-xr-x | dgit | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1850,11 +1850,15 @@ sub get_source_format () { sub madformat ($) { my ($format) = @_; return 0 unless $format eq '3.0 (quilt)'; + our $quilt_mode_warned; if ($quilt_mode eq 'nocheck') { - progress "Not doing any fixup of \`$format' due to --no-quilt-fixup"; + progress "Not doing any fixup of \`$format' due to". + " ----no-quilt-fixup or --quilt=nocheck" + unless $quilt_mode_warned++; return 0; } - progress "Format \`$format', checking/updating patch stack"; + progress "Format \`$format', need to check/update patch stack" + unless $quilt_mode_warned++; return 1; } |