Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lfsapi/lfsapi.go: enhance trace logs
Since PR git-lfs#4446 we have output several trace log messages when attempting to instantiate a new SSHTransfer structure in the SSHTransfer() method of the Client structure in our "lfsapi" package. This method takes "operation" and "remote" string arguments, and the returned SSHTransfer structure is specific to those values. As we may potentially call this method several times in a single process, with different arguments, we add the "operation" and "remote" variables to our trace log messages, which will help us when we analyze logs and want to distinguish the different contexts in which the SSHTransfer() method was called.
- Loading branch information