From mboxrd@z Thu Jan 1 00:00:00 1970 From: tycho garen Subject: Re: Re: Worg pull broken? Date: Wed, 27 Oct 2010 07:07:47 -0400 Message-ID: <20101027110747.GB11502@deleuze> References: <80ocamcjdb.fsf@mundaneum.com> <87d3qz4dif.wl%dmaus@ictsoc.de> <80r5fchyb7.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=38850 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB3rX-0000eQ-Ac for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 07:08:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB3rE-0001tY-Ba for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 07:08:11 -0400 Received: from foucault.cyborginstitute.net ([97.107.134.101]:36930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB3rE-0001tI-9c for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 07:07:52 -0400 Content-Disposition: inline In-Reply-To: <80r5fchyb7.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?iso-8859-1?Q?S=E9bastien?= Vauban Cc: emacs-orgmode@gnu.org On Wed, Oct 27, 2010 at 09:47:24AM +0200, S=E9bastien Vauban wrote: > - Does using ssh give you compression for free? Hence, a quicker way t= o > download big repos? Git can interact with the remote repository differently, allowing it to do some de-duplication over SSH that it can't do over HTTP. Also, depending on your SSH configurations SSH can (and generally is, I think, correct me if I'm wrong) somewhat compressed (But then, so is HTTP with DEFLATE/gzip sometimes). This might not speed up the operation both because of the processor overhead to do the compression, but also because SSH's encryption takes a bit of overhead.=20 Basically, "it depends on what free is," and pragmatically git pull's over SSH are quicker than git pulls over HTTP.=20 > - Can you use whatever protocol (git, http, git+ssh) in front of any "g= it > URL"? I mean, if I see on the Web, http://xxx.git, can I replace htt= p by > git with no impact? No. SSH (and git) protocols specify the path of the file based on where the file lives on the host machines file system. Start at the root / (or chroot) in the top level and go from there. The paths for HTTP are dependent upon the configuration of the web server and are often somewhat distinct from what is actually going on in the file system given virtual hosting and URL rewriting.=20 Hope this helps.=20 Cheers, tycho --=20 tycho(ish) @ garen@tychoish.com http://www.tychoish.com/ http://www.cyborginstitute.com/ "don't get it right, get it written" -- james thurber