git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull works remotely but not locally

From
IUIvan Uemlianin <ivan@llaisdy.com>
Date
May 27, 2010, 15:07 UTC
Message-ID
<4BFE8A99.5060906@llaisdy.com>
In-Reply-To
<AANLkTinn_D2nrZDoczHqvAFKdCxxubK0N0jHr-nE94JP@mail.gmail.com>
Dear All
Thanks for your comments.
On Thu, May 27, 2010 at 4:37 PM, Ivan Uemlianin<ivan@llaisdy.com>  wrote:
> >  git-pull is 755, and I can run /path/to/git-pull (I get an error and it
> >  crashes, but I have the permission).
>    
On 27/05/2010 15:47, Sverre Rabbelier wrote:
Show 5 quoted lines
> ...
> That's not supposed to happen, what does it say? Also, is it possible
> you have an old git install lying around? It might be that it's partly
> using the old, and partly using the new install.
>    
On 27/05/2010 15:50, Ramkumar Ramachandra wrote:
Show 8 quoted lines
> ...
> Your error comes from run-command.c:290 - Maybe it tries to execute
> git-pull and (wrongly) reports that it wasn't able to execute it? What
> error (and return status) do you get when you execute the script
> yourself?
> It looks like there's something wrong with your installation of Git.
> Perhaps you'd like to re-install
>    
The error is like this:
     $ /opt/libexec/git-core/git-pull
     /opt/libexec/git-core/git-pull: line 11: git-sh-setup: No such file 
or directory

I'm calling git-pull from my clone of the repos, so I don't have git-sh-setup in my current directory. That all seems fine: I imagine git-pull is not intended to be called directly.

The git is a recent install from source, on a Centos machine. There was no git previous.

As for reinstalling: unless something else is broken, I'm happy with "git fetch; git merge origin". However, I should like to understand why git pull is not working.

Best wishes
Ivan
-- 
============================================================
Ivan A. Uemlianin
Speech Technology Research and Development

                     ivan@llaisdy.com
                      www.llaisdy.com
                          llaisdy.wordpress.com
                      www.linkedin.com/in/ivanuemlianin

     "Froh, froh! Wie seine Sonnen, seine Sonnen fliegen"
                      (Schiller, Beethoven)
============================================================
Previous: Sverre RabbelierNext: Jeff King
Message 5 of 17 in “git pull works remotely but not locally”
  1. Ivan UemlianinMay 27, 2010
  2. Ramkumar RamachandraMay 27, 2010
  3. Ivan UemlianinMay 27, 2010
  4. Sverre RabbelierMay 27, 2010
  5. Ivan UemlianinMay 27, 2010
  6. Jeff KingMay 27, 2010
  7. Ivan UemlianinMay 27, 2010
  8. Johannes SixtMay 27, 2010
  9. Ivan UemlianinMay 27, 2010
  10. Jeff KingMay 27, 2010
  11. Ivan UemlianinMay 27, 2010
  12. Ilari LiusvaaraMay 27, 2010
  13. Ramkumar RamachandraMay 27, 2010
  14. Ivan UemlianinMay 27, 2010
  15. Johannes SixtMay 27, 2010
  16. Ivan UemlianinMay 28, 2010
  17. Ramkumar RamachandraMay 27, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.