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

Re: git add / update-cache --add fails.

From
Junio C Hamano <junkio@cox.net>
Date
Apr 26, 2005, 01:38 UTC
Message-ID
<7vhdhuqpv1.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200504252252.05957.rhys@rhyshardwick.co.uk>

Just a wild guess. Are you trying to run the command from a subdirectory, not from the top directory (that is, the one that has subdirectory .git/ in it)?

Previous: Paul Jackson
Message 14 of 14 in “git add / update-cache --add fails.”
  1. Rhys HardwickApr 25, 2005
  2. Rhys HardwickApr 25, 2005
  3. Rhys HardwickApr 25, 2005
  4. Chris WedgwoodApr 25, 2005
  5. Linus TorvaldsApr 26, 2005
  6. Rhys HardwickApr 26, 2005
  7. Herbert XuApr 27, 2005
  8. Ed L CashinApr 27, 2005
  9. Petr BaudisApr 27, 2005
  10. Ed L CashinApr 27, 2005
  11. Paul JacksonApr 28, 2005
  12. Petr BaudisApr 28, 2005
  13. Paul JacksonApr 28, 2005
  14. Junio C HamanoApr 26, 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.