On Mon, 9 May 2011 20:04:07 -0700 (PDT)
Blu Dragon <bludragon...@gmail.com> wrote:

[...]
>   #strace git push -v $remote $branch 2&> /var/log/strace-git.log
>   git push -v $remote $branch
> done
> 
> exit 0
I wonder if strace'ing yields something of interest?
But for this to work you most probably pass the "-f" command-line
option to strace so that it also traces forked processes--Git is
modular and so it's quite possible that git-push runs a bunch of other
binaries when it does its job.
Hence I'd write it like this:
strace -f -o /tmp/git-strace.log git push -v "$remote" "$branch"

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to