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

Re: Egit: how to merge after fetch (or pull)

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Apr 9, 2009, 03:39 UTC
Message-ID
<200904090539.47489.robin.rosenberg.lists@dewire.com>
In-Reply-To
<3ae83b000904081456i37ad65ate133469fa9a8f23c@mail.gmail.com>
onsdag 08 april 2009 23:56:23 skrev John Bito <jwbito@gmail.com>:
Show 12 quoted lines
> I'd like to pull a branch before I do more work on it.  After fetch,
> git status says the branch is behind origin by N commits.
> 
> Can you tell me if there is an operation I can do via egit to get the
> origin changes onto my branch? (Most of the documentation I found for
> Egit appears to be before the fetch command was implemented.)
> 
> In the mean time, I've been using 'git pull'. Unfortunately, I found
> that it's important to shut down Eclipse while doing a git operation
> using Cygwin - a GC run when Egit had a file open caused a problem in
> the repository that subsequent pushes propagated to my GitHub
> repository.  It would be nice to work entirely within Eclipse.

A very recent update to msysgit (not git core and hence not cygwin) might help there. Windows locks files when reading and the Eclipse plugin reads things from the repo when changes are detected to see if anything interesting is there. The fix in msysgit retries certain operations a number of times if they fail with access denied, which is what you get if the file is open for reading.

Built-in pull is not there just yet.
-- robin
Previous: John Bito
Message 2 of 2 in “Egit: how to merge after fetch (or pull)”
  1. John BitoApr 8, 2009
  2. Robin RosenbergApr 9, 2009

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.