(SOLVED) Re: cg-add and update-cache add fails
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