{"thread":{"id":"585","subject":"How-to create a new repository using cogito","startedAt":"2005-05-12T15:27:04Z","lastAt":"2005-05-12T15:37:11Z","messageCount":2,"participants":["Wink Saville","Zack Brown"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"3156","messageId":"20050512152704.GA14353@tumblerings.org","threadId":"585","inReplyTo":"42837827.8020404@saville.com","subject":"Re: How-to create a new repository using cogito","fromName":"Zack Brown","fromEmail":"zbrown@tumblerings.org","sentAt":"2005-05-12T15:27:04Z","receivedAt":"2005-05-12T15:27:04Z","isPatch":false,"sender":{"key":"zbrown@tumblerings.org","avatar":null},"body":"On Thu, May 12, 2005 at 08:37:11AM -0700, Wink Saville wrote:\n> Hello,\n> \n> I've successfully followed the instructions in the cogito README and \n> gotten both cogito repositories and linux. I then tried to create a \n> local repository for a directory of my own. But was unsuccessful.\n\nYou didn't read far enough down in the README.\n\nLook for cg-init\n\n> \n> <Attempted to do the following>\n> \n> wink@tuxws git-linux $ mkdir test\n> wink@tuxws git-linux $ cd test\n> wink@tuxws test $ echo \"some data\" > src.c\n> wink@tuxws test $ cat src.c\n> some data\n> wink@tuxws test $ cg-clone -s .\n> defaulting to local storage area\n> `/home/wink/git-linux/test/./.git/refs/heads/master' -> \n> `.git/refs/heads/origin'\n> cg-pull: objects pull failed\n> cg-init: pull failed\n> \n> <forged ahead despite the error's>\n> \n> wink@tuxws test $ cg-add src.c\n> Adding file src.c\n> wink@tuxws test $ cg-commit\n> usage: git-diff-cache [-p] [-r] [-z] [-m] [--cached] <tree sha1>\n> cg-commit: Nothing to commit\n> \n> <using \"cg-commit .\" did prompt me for log info>\n> \n> wink@tuxws test $ cg-commit .\n> Ignoring path .\n> usage: read-tree (<sha> | -m <sha1> [<sha2> <sha3>])\n> error: mmap failed\n> fatal: cache corrupted\n> cg-commit: update-cache failed\n> wink@tuxws test $ cg-log\n> cat: .git/refs/tags/: Is a directory\n> cat: .git/refs/heads/: Is a directory\n> Invalid id:\n> \n> <contents of .git>\n> \n> wink@tuxws test $ find .git -type f\n> .git/refs/heads/master\n> .git/refs/heads/origin\n> .git/index\n> .git/branches/origin\n> .git/objects/42/6863280eedd08aa600ac034e6a9933ba372944\n> \n> So something happened but I'm obviously missing something. Also why does \n> this fail?\n> \n> wink@tuxws test $ cd .git/objects/42/\n> wink@tuxws test $ git-cat-file 6863280eedd08aa600ac034e6a9933ba372944\n> usage: git-cat-file [-t | tagname] <sha1>\n> \n> Thanks,\n> \n> Wink\n> \n> \n> -- \n> No virus found in this outgoing message.\n> Checked by AVG Anti-Virus.\n> Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005\n> \n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n-- \nZack Brown\n"},{"id":"3155","messageId":"42837827.8020404@saville.com","threadId":"585","inReplyTo":null,"subject":"How-to create a new repository using cogito","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2005-05-12T15:37:11Z","receivedAt":"2005-05-12T15:37:11Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Hello,\n\nI've successfully followed the instructions in the cogito README and \ngotten both cogito repositories and linux. I then tried to create a \nlocal repository for a directory of my own. But was unsuccessful.\n\n<Attempted to do the following>\n\nwink@tuxws git-linux $ mkdir test\nwink@tuxws git-linux $ cd test\nwink@tuxws test $ echo \"some data\" > src.c\nwink@tuxws test $ cat src.c\nsome data\nwink@tuxws test $ cg-clone -s .\ndefaulting to local storage area\n`/home/wink/git-linux/test/./.git/refs/heads/master' -> \n`.git/refs/heads/origin'\ncg-pull: objects pull failed\ncg-init: pull failed\n\n<forged ahead despite the error's>\n\nwink@tuxws test $ cg-add src.c\nAdding file src.c\nwink@tuxws test $ cg-commit\nusage: git-diff-cache [-p] [-r] [-z] [-m] [--cached] <tree sha1>\ncg-commit: Nothing to commit\n\n<using \"cg-commit .\" did prompt me for log info>\n\nwink@tuxws test $ cg-commit .\nIgnoring path .\nusage: read-tree (<sha> | -m <sha1> [<sha2> <sha3>])\nerror: mmap failed\nfatal: cache corrupted\ncg-commit: update-cache failed\nwink@tuxws test $ cg-log\ncat: .git/refs/tags/: Is a directory\ncat: .git/refs/heads/: Is a directory\nInvalid id:\n\n<contents of .git>\n\nwink@tuxws test $ find .git -type f\n.git/refs/heads/master\n.git/refs/heads/origin\n.git/index\n.git/branches/origin\n.git/objects/42/6863280eedd08aa600ac034e6a9933ba372944\n\nSo something happened but I'm obviously missing something. Also why does \nthis fail?\n\nwink@tuxws test $ cd .git/objects/42/\nwink@tuxws test $ git-cat-file 6863280eedd08aa600ac034e6a9933ba372944\nusage: git-cat-file [-t | tagname] <sha1>\n\nThanks,\n\nWink\n\n\n-- \nNo virus found in this outgoing message.\nChecked by AVG Anti-Virus.\nVersion: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005\n\n"}]}