diff options
author | Eric Wong <e@80x24.org> | 2022-10-20 08:43:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-24 08:18:28 +0000 |
commit | e28f33dc1b6e6a296946c0c58b43900c6cbd07f7 (patch) | |
tree | b7ea15e426dda5f6d4223d5ce559e7366a58bf07 /lib/PublicInbox/Gcf2.pm | |
parent | 619f4d617356c945321636e85b51ab4594d9e19d (diff) | |
download | public-inbox-e28f33dc1b6e6a296946c0c58b43900c6cbd07f7.tar.gz |
This is like more familiar to readers of TAP (Test Anywhere Protocol) output, as well as shell and Perl scripters which also use `#' for comments. AFAIK, nobody is parsing our stderr, and I'm not sure how standardized the `I:' prefix is (nor `W:' and `E:' are). It's already the prevailing style in Lei* code, too, so things have been moving in that direction for a bit.
Diffstat (limited to 'lib/PublicInbox/Gcf2.pm')
-rw-r--r-- | lib/PublicInbox/Gcf2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Gcf2.pm b/lib/PublicInbox/Gcf2.pm index 5c353095..54b3d6aa 100644 --- a/lib/PublicInbox/Gcf2.pm +++ b/lib/PublicInbox/Gcf2.pm @@ -128,14 +128,14 @@ sub loop (;$) { # retry once if missing. We only get unabbreviated OIDs # from SQLite or Xapian DBs, here, so malicious clients # can't trigger excessive retries: - warn "I: $$ $oid missing, retrying in $git_dir\n"; + warn "# $$ $oid missing, retrying in $git_dir\n"; $gcf2 = new(); %seen = ($git_dir => add_alt($gcf2, $git_dir)); $check_at = clock_gettime(CLOCK_MONOTONIC) + $exp; if ($gcf2->cat_oid(1, $oid)) { - warn "I: $$ $oid found after retry\n"; + warn "# $$ $oid found after retry\n"; } else { warn "W: $$ $oid missing after retry\n"; print "$oid missing\n"; # mimic git-cat-file |