summaryrefslogtreecommitdiffstats
path: root/Documentation/lint-man-section-order.perl
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-15 14:39:12 +0200
committerJunio C Hamano <gitster@pobox.com>2021-10-15 19:16:57 +0200
commitf005593dc313084675aebda4de02743c02ac409a (patch)
tree68673a5cfe2593ef0901255da8fc897a46659c8c /Documentation/lint-man-section-order.perl
parentdoc lint: fix error-hiding regression (diff)
downloadgit-f005593dc313084675aebda4de02743c02ac409a.tar.xz
git-f005593dc313084675aebda4de02743c02ac409a.zip
doc lint: emit errors on STDERR
Have all of the scripts invoked by "make check-docs" emit their output on STDERR. This does not currently matter due to the way we're invoking them, but will in a subsequent change. It's a good idea to do this in any case for consistency with other tools we invoke. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/lint-man-section-order.perl')
-rwxr-xr-xDocumentation/lint-man-section-order.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/lint-man-section-order.perl b/Documentation/lint-man-section-order.perl
index b05f9156dd..425377dfeb 100755
--- a/Documentation/lint-man-section-order.perl
+++ b/Documentation/lint-man-section-order.perl
@@ -46,7 +46,7 @@ my $SECTION_RX = do {
my $exit_code = 0;
sub report {
my ($msg) = @_;
- print "$ARGV:$.: $msg\n";
+ print STDERR "$ARGV:$.: $msg\n";
$exit_code = 1;
}