{"thread":{"id":"21087","subject":"Git problems with adding files (first use)","startedAt":"2009-09-29T09:17:21Z","lastAt":"2009-09-29T09:17:21Z","messageCount":1,"participants":["A. S. Budden"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"123981","messageId":"1ddea54e0909290217o45b2e89j3b023821a4871b41@mail.gmail.com","threadId":"21087","inReplyTo":null,"subject":"Git problems with adding files (first use)","fromName":"A. S. Budden","fromEmail":"abudden@gmail.com","sentAt":"2009-09-29T09:17:21Z","receivedAt":"2009-09-29T09:17:21Z","isPatch":false,"sender":{"key":"abudden@gmail.com","avatar":null},"body":"Dear all,\n\nI have just installed Git from the msysgit distribution\n(Git-1.6.4-preview20090730.exe).  I've also installed TortoiseGit\n(1.0.2.0).  I've been having a few problems adding files (either using\ntortoise or the command line tools).\n\nWhat I did (copied and pasted directly from the command window):\n\n=============================================================\nZ:\\>mkdir testproject\nZ:\\>cd testproject\nZ:\\testproject>echo \"test file\" > file1.c\nZ:\\testproject>echo \"test file\" > file2.c\nZ:\\testproject>git init\nInitialized empty Git repository in Z:/testproject/.git/\nZ:\\testproject>git add file1.c\nerror: unable to create temporary sha1 filename .git/objects/f7/tmp_obj_a02340:\nNo such file or directory\n\nerror: file1.c: failed to insert into database\nerror: unable to index file file1.c\nfatal: adding files failed\n=============================================================\n\nCan anyone tell me what I'm doing wrong?  I've tried using tortoise\ngit and I've tried it on an existing project (rather than a bunch of\nrandom files), but I can't seem to add files to the repository: I\nalways get the \"No such file or directory\" error.\n\nThanks in advance for your help.\n\nAl\n"}]}