Hi, It looks like setting GIT_TRACE_PERFORMANCE to 1 or 2 (for stdout or stderr) does not always work well with commands that use a pager, for example: ------------- > GIT_TRACE_PERFORMANCE=2 git log -1 commit f02fbc4f9433937ee0463d0342d6d7d97e1f6f1e Author: Junio C Hamano <gitster@xxxxxxxxx> Date: Fri Feb 26 13:45:26 2016 -0800 Git 2.8-rc0 Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> ------------- In the above the GIT_TRACE_PERFORMANCE output is missing. When I use "--no-pager", I get the GIT_TRACE_PERFORMANCE output: ------------- > GIT_TRACE_PERFORMANCE=2 git --no-pager log -1 commit f02fbc4f9433937ee0463d0342d6d7d97e1f6f1e Author: Junio C Hamano <gitster@xxxxxxxxx> Date: Fri Feb 26 13:45:26 2016 -0800 Git 2.8-rc0 Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> 12:16:31.258462 trace.c:420 performance: 0.001415428 s: git command: 'git' '--no-pager' 'log' '-1' ------------- Setting GIT_TRACE to 1 or 2 seems to work, but maybe it is because it outputs stuff at the beginning of the process and not at the end. Cheers, Christian. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html