From: Joey Hess Date: Fri, 22 Sep 2023 20:03:09 +0000 (-0400) Subject: update X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~32^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d86e58e4c1b8f95250bb67bd2f329c6ac226dd8;p=git-annex.git update --- diff --git a/doc/bugs/git_annex_should_check_that_stdout_isatty_when_reporting_progress/comment_2_e2139a3d1d06772d06992a38140e51d3._comment b/doc/bugs/git_annex_should_check_that_stdout_isatty_when_reporting_progress/comment_2_e2139a3d1d06772d06992a38140e51d3._comment new file mode 100644 index 0000000000..a98761ecb6 --- /dev/null +++ b/doc/bugs/git_annex_should_check_that_stdout_isatty_when_reporting_progress/comment_2_e2139a3d1d06772d06992a38140e51d3._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2023-09-22T19:56:06Z" + content=""" +Nowadays, -J1 does not have that behavior but eg -J2 still does. But I'd +probably just use --quiet in my cron job, or for that matter use `chronic`. + +I do think it would be better for git-annex to be consistent and not +display progress when not at a tty. However, the work required to do that +is nontrivial. A lot of commands git-annex runs can themselves display +progress. And all that nontrivial work has in fact been done in order to +support -J. It's just not enabled by default or for -J1. + +The reason git-annex has not yet switched to the concurrent output by +default is that it assumes a VT100 compatable terminal. +"""]]