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

(SOLVED) Re: cg-add and update-cache add fails

From
RHRhys Hardwick <rhys@rhyshardwick.co.uk>
Date
Apr 26, 2005, 16:44 UTC
Message-ID
<200504261744.44394.rhys@rhyshardwick.co.uk>
In-Reply-To
<200504261735.47008.rhys@rhyshardwick.co.uk>
Ok, I have been known to be silly.  But this silly? :)
Create the file, then add it to the repository.  Makes sense really.
Rhys
On Tuesday 26 Apr 2005 17:35, Rhys Hardwick wrote:
Show 25 quoted lines
> Hey there,
>
> I posted a little while ago about this, but thought I would collate all my
> findings.  I am very lost.  Trying to add files to the repository does not
> seem to work, no matter which git repository I try.  Creating new trees and
> updating current trees, as well as removing files is not a problem.  All
> other areas of git seem to work perfectly.  I am currently using
> cogito-0.8. This error started to occur in pasky-0.63.
>
> Here is the error I get:
>
> rhys@metatron:~/repo/learning.repo$ cg-add w1p4d1.c
> fatal: Unable to add w1p4d1.c to database
> rhys@metatron:~/repo/learning.repo$ update-cache --add w1p4d1.c
> fatal: Unable to add w1p4d1.c to database
>
> All the files under the .git folder appear to be owned by me, and are
> read-writable.  The disk is not full.
>
> I have attached the output from strace and ltrace.
>
> If anyone could shed any light on why this might be happening, I would be
> very grateful.
>
> Rhys
Previous: Rhys HardwickNext: Daniel Barkalow
Message 2 of 4 in “cg-add and update-cache add fails”
  1. Rhys HardwickApr 26, 2005
  2. (SOLVED) Re: cg-add and update-cache add failsRhys Hardwick, Apr 26, 2005
  3. Daniel BarkalowApr 26, 2005
  4. Petr BaudisApr 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.