summaryrefslogtreecommitdiff
path: root/t/t5100/embed-from.expect
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-05-19 01:24:57 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-19 09:35:14 -0700
commita4fb76ce1916939c7e6359f9416f2af4a760f6f1 (patch)
tree9cff56e372052a64557d55b7a9a18986f2bf3280 /t/t5100/embed-from.expect
parentcompat/mingw: stubs for getpgid() and tcgetpgrp() (diff)
downloadtgif-a4fb76ce1916939c7e6359f9416f2af4a760f6f1.tar.xz
progress: treat "no terminal" as being in the foreground
progress: treat "no terminal" as being in the foreground Commit 85cb890 (progress: no progress in background, 2015-04-13) avoids sending progress from background processes by checking that the process group id of the current process is the same as that of the controlling terminal. If we don't have a terminal, however, this check never succeeds, and we print no progress at all (until the final "done" message). This can be seen when cloning a large repository; instead of getting progress updates for "counting objects", it will appear to hang then print the final count. We can fix this by treating an error return from tcgetpgrp() as a signal to show the progress. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/embed-from.expect')
0 files changed, 0 insertions, 0 deletions