update
authorJoey Hess <joeyh@joeyh.name>
Fri, 22 Sep 2023 20:03:09 +0000 (16:03 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 22 Sep 2023 20:03:09 +0000 (16:03 -0400)
doc/bugs/git_annex_should_check_that_stdout_isatty_when_reporting_progress/comment_2_e2139a3d1d06772d06992a38140e51d3._comment [new file with mode: 0644]

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 (file)
index 0000000..a98761e
--- /dev/null
@@ -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.
+"""]]