Thread (17 messages) flat view 17 messages, 7 authors, 2016-06-15

Re: git pull works remotely but not locally

From: Jeff King <hidden>
Date: 2016-06-15 22:48:52

On Thu, May 27, 2010 at 04:21:28PM +0100, Ivan Uemlianin wrote:
Thanks for your comment.
quoted
What happens if you run "git pull"? If you get an error, can you try to
run "GIT_TRACE=1 git pull"? Git should then print out exactly what it is
trying to exec that is failing.
Not very exciting:

$ GIT_TRACE=1 git pull
trace: exec: 'git-pull'
trace: run_command: 'git-pull'
fatal: cannot exec 'git-pull': Permission denied
Then the next thing to try is probably (assuming you are running Linux):

  strace -f -e execve git pull

Though I suspect we may just see:

  execve("/opt/libexec/git-core/git-core/git-pull", ...) = -1 EACCES (Permission denied)

which doesn't help much. I just want to be sure that is the source of
the problem.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help