{"thread":{"id":"1928","subject":"How to make Cogito use git-fetch-pack?","startedAt":"2005-09-23T22:20:08Z","lastAt":"2005-09-26T18:46:15Z","messageCount":5,"participants":["H. Peter Anvin","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"9202","messageId":"43347F98.6020101@zytor.com","threadId":"1928","inReplyTo":null,"subject":"How to make Cogito use git-fetch-pack?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-09-23T22:20:08Z","receivedAt":"2005-09-23T22:20:08Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Is there any way to make Cogito use git-fetch-pack instead of \ngit-ssh-fetch?  git+ssh:// seems to invoke the latter.\n\n\t-hpa\n"},{"id":"9212","messageId":"20050924011912.GK10255@pasky.or.cz","threadId":"1928","inReplyTo":"43347F98.6020101@zytor.com","subject":"Re: How to make Cogito use git-fetch-pack?","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-09-24T01:19:12Z","receivedAt":"2005-09-24T01:19:12Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Sat, Sep 24, 2005 at 12:20:08AM CEST, I got a letter\nwhere \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> Is there any way to make Cogito use git-fetch-pack instead of \n> git-ssh-fetch?  git+ssh:// seems to invoke the latter.\n\nI just added git+packed+ssh:// to be used for this purpose.\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":"9217","messageId":"4334B428.7020608@zytor.com","threadId":"1928","inReplyTo":"20050924011912.GK10255@pasky.or.cz","subject":"Re: How to make Cogito use git-fetch-pack?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-09-24T02:04:24Z","receivedAt":"2005-09-24T02:04:24Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Petr Baudis wrote:\n> Dear diary, on Sat, Sep 24, 2005 at 12:20:08AM CEST, I got a letter\n> where \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> \n>>Is there any way to make Cogito use git-fetch-pack instead of \n>>git-ssh-fetch?  git+ssh:// seems to invoke the latter.\n> \n> I just added git+packed+ssh:// to be used for this purpose.\n> \n\nSince git tends to use \"pack\" (e.g. git-fetch-pack) I'd suggest use \ngit+pack+ssh:// instead.  It's shorter, too.\n\n\t-hpa\n"},{"id":"9311","messageId":"43383999.8090508@zytor.com","threadId":"1928","inReplyTo":"4334B428.7020608@zytor.com","subject":"Re: How to make Cogito use git-fetch-pack?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-09-26T18:10:33Z","receivedAt":"2005-09-26T18:10:33Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"H. Peter Anvin wrote:\n> Petr Baudis wrote:\n> \n>> Dear diary, on Sat, Sep 24, 2005 at 12:20:08AM CEST, I got a letter\n>> where \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n>>\n>>> Is there any way to make Cogito use git-fetch-pack instead of \n>>> git-ssh-fetch?  git+ssh:// seems to invoke the latter.\n>>\n>>\n>> I just added git+packed+ssh:// to be used for this purpose.\n>>\n> \n> Since git tends to use \"pack\" (e.g. git-fetch-pack) I'd suggest use \n> git+pack+ssh:// instead.  It's shorter, too.\n> \n\nI thought some more about this, and realized that it really doesn't make \nsense for there to be another name for this.  Simply put, git+ssh:// \nrequires ssh access and git to be present on the other side, and within \nthose parameters it should use whatever access method is most effective. \nThus, having a separate URL type only makes sense if something is \nfundamentally and user-visibly different between the two.\n\n\t-hpa\n"},{"id":"9314","messageId":"20050926184615.GB26340@pasky.or.cz","threadId":"1928","inReplyTo":"43383999.8090508@zytor.com","subject":"Re: How to make Cogito use git-fetch-pack?","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2005-09-26T18:46:15Z","receivedAt":"2005-09-26T18:46:15Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Dear diary, on Mon, Sep 26, 2005 at 08:10:33PM CEST, I got a letter\nwhere \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> H. Peter Anvin wrote:\n> >Petr Baudis wrote:\n> >\n> >>Dear diary, on Sat, Sep 24, 2005 at 12:20:08AM CEST, I got a letter\n> >>where \"H. Peter Anvin\" <hpa@zytor.com> told me that...\n> >>\n> >>>Is there any way to make Cogito use git-fetch-pack instead of \n> >>>git-ssh-fetch?  git+ssh:// seems to invoke the latter.\n> >>\n> >>\n> >>I just added git+packed+ssh:// to be used for this purpose.\n> >>\n> >\n> >Since git tends to use \"pack\" (e.g. git-fetch-pack) I'd suggest use \n> >git+pack+ssh:// instead.  It's shorter, too.\n> >\n> \n> I thought some more about this, and realized that it really doesn't make \n> sense for there to be another name for this.  Simply put, git+ssh:// \n> requires ssh access and git to be present on the other side, and within \n> those parameters it should use whatever access method is most effective. \n> Thus, having a separate URL type only makes sense if something is \n> fundamentally and user-visibly different between the two.\n\nTags fetching. I agree that the difference isn't that big other than\nthis (contrary to the other fetchers, ssh-fetch won't reproduce the pack\nsetup; this may sound as a bad thing, but it prevents transfer of\nredundant data which is pretty much inevitable (or for free) for the\nother fetchers). And since we will probably move to the pack fetchers\nfor tags as well, I agree that there indeed is little point in this.\nI will switch all the git+ssh fetching to it after I implement the new\ntags fetching.\n\nBy the way, how much more CPU-intensive are the pack-based methods in\npractice, especially on the server (packing) side? Could it be\nnoticeable?\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"}]}