redirecting to a file seems to help

This commit is contained in:
Jean-Paul Calderone 2020-08-07 22:45:33 -04:00
parent 8d1798fbb6
commit fe850e7240
No known key found for this signature in database
GPG Key ID: 86E6F8BAE797C287

View File

@ -35,13 +35,9 @@ fi
echo "The ${tracking_filename} diff is:"
echo "================================="
export GIT_TRACE=1
export GIT_CURL_VERBOSE=2
export GIT_TRACE_PACK_ACCESS=1
export GIT_TRACE_PACKET=1
export GIT_TRACE_PERFORMANCE=1
export GIT_TRACE_SETUP=1
strace -f git diff -- "${tracking_filename}" > tracking.diff
# "git diff" gets pretty confused in this execution context when trying to
# write to stdout. Somehow it fails with SIGTTOU.
git diff -- "${tracking_filename}" > tracking.diff
cat tracking.diff
echo "================================="