How can I have some debug information regarding git/git-shell?
I had a problem, that user1
could clone a repository without problem, while user2
could clone only an empty one. I had set GIT_TRACE=1
, but nothing useful was told.
Finally, after a long trial and error, it turned out that it was a permission problem on a file. An appropriate error message could short-circuit this problem.
For even more verbose output use following:
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git pull origin master