From 13e33743145fced9306fc7594bc84514fbd5883c Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 5 Aug 2007 05:49:59 +0100 Subject: [PATCH] Trace ssh connections when GIT_TRACE is set This is really a patch for mingw.git. Signed-off-by: Johannes Schindelin --- rsh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsh.c b/rsh.c index 5754a230e2..9bb03d12c6 100644 --- a/rsh.c +++ b/rsh.c @@ -71,6 +71,8 @@ int setup_connection(int *fd_in, int *fd_out, const char *remote_prog, ssh_basename = ssh; else ssh_basename++; + trace_printf("Calling '%s' '%s' '%s' '%s'\n", + ssh, ssh_basename, host, command); close(sv[1]); dup2(sv[0], 0); dup2(sv[0], 1);