Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/lint-man-end-blurb.perl # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / lint-man-end-blurb.perl` 24 lines ยท 380 bytes Raw Blame History 1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 6 my $exit_code = 0; 7 sub report { 8 my ($target, $msg) = @_; 9 print STDERR "error: $target: $msg\n"; 10 $exit_code = 1; 11 } 12 13 local $/; 14 while (my $slurp = <>) { 15 report($ARGV, "has no 'Part of the linkgit:git[1] suite' end blurb") 16 unless $slurp =~ m[ 17 ^GIT\n 18 ---\n 19 \QPart of the linkgit:git[1] suite\E \n 20 \z 21 ]mx; 22 } 23 24 exit $exit_code;