From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: need help adjusting workflow to git (or vice versa) Date: Thu, 13 Nov 2014 16:22:04 -0500 Message-ID: References: <87zjbvt8o3.fsf@rosalinde.fritz.box> <5464DC5F.8070607@gmx.at> <87oasaubfc.fsf@rosalinde.fritz.box> <54651045.6080901@cs.ucla.edu> <87k32yu8yh.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415913784 29968 80.91.229.3 (13 Nov 2014 21:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2014 21:23:04 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 22:22:57 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xp1qz-00076F-3p for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 22:22:57 +0100 Original-Received: from localhost ([::1]:33947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp1qy-0004XY-N0 for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 16:22:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp1qn-0004WH-PG for emacs-devel@gnu.org; Thu, 13 Nov 2014 16:22:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xp1qf-0006Pz-H1 for emacs-devel@gnu.org; Thu, 13 Nov 2014 16:22:45 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:39097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp1qf-0006Pv-Cc for emacs-devel@gnu.org; Thu, 13 Nov 2014 16:22:37 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2627885000; Thu, 13 Nov 2014 16:22:37 -0500 (EST) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 0137F1E5B8B; Thu, 13 Nov 2014 16:22:05 -0500 (EST) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id C38C2B4319; Thu, 13 Nov 2014 16:22:04 -0500 (EST) In-Reply-To: <87k32yu8yh.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Thu, 13 Nov 2014 21:44:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177012 Archived-At: > for each build (~540M). Is that really the standard procedure? If so, > I guess I'll get used to it, but it does surprise me. I also find it surprising. While Git is pretty fast and uses network resources efficiently (i.e. there's obviously been a fair bit of effort put into making it use resources efficiently), it doesn't seem to try and optimize resource usage in this case: the duplication of repositories is a problem for disk usage, RAM usage, and network usage (unless you're careful to only fetch from the remote repository into one particular local repository and then to propagate those changes locally between your local repositories, but I don't see any tool that would help you do that). Personally I use git-new-workdir, which lets me set things up in the same way I had them with lightweight checkouts, with a single shared repository. You just have to be careful not to have 2 workdirs checkout the same branch. Stefan