{"thread":{"id":"2430","subject":"proper way to make cg-fetch work from originally git-clone'd tree","startedAt":"2005-11-10T13:51:57Z","lastAt":"2005-11-11T00:13:43Z","messageCount":3,"participants":["Randal L. Schwartz","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"11475","messageId":"86mzkc4nlu.fsf@blue.stonehenge.com","threadId":"2430","inReplyTo":null,"subject":"proper way to make cg-fetch work from originally git-clone'd tree","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2005-11-10T13:51:57Z","receivedAt":"2005-11-10T13:51:57Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":"\nI tried git-fetch this morning, and it said I didn't have an origin,\nwhich makes sense because I made the tree with git-clone, not cg-clone.\n\nHowever, when I tried\n\n        cg-branch-add origin rsync://rsync.kernel.org/pub/scm/git/git.git\n\nit complained that I already had an origin!  It seems to work after\nthat, but what should I have done instead?  Is there a way to make\nboth cg-fetch and git-fetch to default to the same things?\n\nBy the way, my \"make only if something changed\" works now, because\nI've separated cg-fetch and cg-merge.  My merge step looks like:\n\n  cg-merge 2>&1 | grep -v 'already fully merged' && make prefix=/opt/git all install && (cd Documentation && make prefix=/opt/git all install)\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"},{"id":"11531","messageId":"20051111001148.GG30496@pasky.or.cz","threadId":"2430","inReplyTo":"86mzkc4nlu.fsf@blue.stonehenge.com","subject":"Re: proper way to make cg-fetch work from originally git-clone'd tree","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-11-11T00:11:48Z","receivedAt":"2005-11-11T00:11:48Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Thu, Nov 10, 2005 at 02:51:57PM CET, I got a letter\nwhere \"Randal L. Schwartz\" <merlyn@stonehenge.com> said that...\n> I tried git-fetch this morning, and it said I didn't have an origin,\n> which makes sense because I made the tree with git-clone, not cg-clone.\n> \n> However, when I tried\n> \n>         cg-branch-add origin rsync://rsync.kernel.org/pub/scm/git/git.git\n> \n> it complained that I already had an origin!  It seems to work after\n> that, but what should I have done instead?  Is there a way to make\n> both cg-fetch and git-fetch to default to the same things?\n\nYou should do what you did - it was just a warning. git-clone seems to\nhave created only a 'remotes' entry, which Cogito doesn't understand\n(yet).\n\n> By the way, my \"make only if something changed\" works now, because\n> I've separated cg-fetch and cg-merge.  My merge step looks like:\n> \n>   cg-merge 2>&1 | grep -v 'already fully merged' && make prefix=/opt/git all install && (cd Documentation && make prefix=/opt/git all install)\n\nAny reason why you were unable to tell the main make 'doc install-doc'?\n\n-- \n\t\t\t\tPetr \"Pasky\" Baudis\nStuff: http://pasky.or.cz/\nVI has two modes: the one in which it beeps and the one in which\nit doesn't.\n"},{"id":"11532","messageId":"867jbgujm0.fsf@blue.stonehenge.com","threadId":"2430","inReplyTo":"20051111001148.GG30496@pasky.or.cz","subject":"Re: proper way to make cg-fetch work from originally git-clone'd tree","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2005-11-11T00:13:43Z","receivedAt":"2005-11-11T00:13:43Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Petr\" == Petr Baudis <pasky@suse.cz> writes:\n\n>> cg-merge 2>&1 | grep -v 'already fully merged' && make prefix=/opt/git all install && (cd Documentation && make prefix=/opt/git all install)\n\nPetr> Any reason why you were unable to tell the main make 'doc install-doc'?\n\nBecause I didn't see it? :-)\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"}]}