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

Re: rsync update appears broken now

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 21, 2005, 15:26 UTC
Message-ID
<Pine.LNX.4.64.0510210822380.10477@g5.osdl.org>
In-Reply-To
<861x2fdloj.fsf@blue.stonehenge.com>
On Fri, 21 Oct 2005, Randal L. Schwartz wrote:
Show 8 quoted lines
> 
> Doesn't yet work for me.  What do I need to do now?
> 
>     * committish: 4ae22d96fe9248dac4f26b1fc91154ba5e879799
>       branch 'master' of rsync://rsync.kernel.org/pub/scm/git/git
>     * refs/heads/origin: same as branch 'master' of rsync://rsync.kernel.org/pub/scm/git/git
>     Updating from ea5a65a59916503d2a14369c46b1023384d51645 to 4ae22d96fe9248dac4f26b1fc91154ba5e879799.
>     fetch-pack.c: needs update

Your previous failed pull had left the unfinished merge around, so now when you try to pull and it tries to update, it can't.

Do a 
	git checkout -f

first to reset your tree to your old HEAD, and then try again. It should work then.

(Or do "git reset --hard", which should end up doing the same thing)
		Linus
Previous: Randal L. SchwartzNext: Morten Welinder
Message 18 of 21 in “rsync update appears broken now”
  1. Randal L. SchwartzOct 20, 2005
  2. Alex RiesenOct 20, 2005
  3. Randal L. SchwartzOct 20, 2005
  4. Alex RiesenOct 20, 2005
  5. Linus TorvaldsOct 20, 2005
  6. Junio C HamanoOct 20, 2005
  7. Linus TorvaldsOct 20, 2005
  8. Junio HamanoOct 20, 2005
  9. Johannes SchindelinOct 20, 2005
  10. Linus TorvaldsOct 20, 2005
  11. Johannes SchindelinOct 21, 2005
  12. Linus TorvaldsOct 21, 2005
  13. Petr BaudisOct 21, 2005
  14. Linus TorvaldsOct 20, 2005
  15. Junio C HamanoOct 21, 2005
  16. Linus TorvaldsOct 21, 2005
  17. Randal L. SchwartzOct 21, 2005
  18. Linus TorvaldsOct 21, 2005
  19. Morten WelinderOct 20, 2005
  20. dave morganOct 20, 2005
  21. Stephen C. TweedieOct 20, 2005

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.