From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Axelsson Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Tue, 7 Jan 2014 13:27:22 +0100 Message-ID: References: <52CB2AB0.4080505@alice.it> <877gachfza.fsf@igel.home> <52CBD5CC.4020804@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1389097648 7024 80.91.229.3 (7 Jan 2014 12:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 12:27:28 +0000 (UTC) Cc: Andreas Schwab , emacs To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 13:27:35 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 1W0Vkr-0008Bp-7h for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 13:27:33 +0100 Original-Received: from localhost ([::1]:40268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Vkq-0005On-Pb for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2014 07:27:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Vkj-0005Od-I4 for emacs-devel@gnu.org; Tue, 07 Jan 2014 07:27:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0Vkh-00008R-VO for emacs-devel@gnu.org; Tue, 07 Jan 2014 07:27:25 -0500 Original-Received: from mail-ve0-x22b.google.com ([2607:f8b0:400c:c01::22b]:35435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Vkh-00008L-Pb for emacs-devel@gnu.org; Tue, 07 Jan 2014 07:27:23 -0500 Original-Received: by mail-ve0-f171.google.com with SMTP id pa12so45066veb.30 for ; Tue, 07 Jan 2014 04:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ibiYwsCcPgZl0IT7JZlxtzlJIhm2hyMWH9tZ3DuJVAk=; b=dzgMvdTNddm/46i2XYJi2sZqsvNsLEuEpDQbKM07BZ0XBInKhfzlfSXwPcQwibgC7S 0a/GVHuhduDn/bStHfV/UM0ep5U17HozGm5zsXdw3DrTM9C9OMib6BGuukeEXKzj7i7C LjPRHuAV0FdWg5DvPItjkkMNOoaRr3P5B9iKYXS4g3vyY8anC+W4FFAYccH4QYcv3eR5 b4GhN+1KBvWh7BlZorDCl3zlR3yygE1by5KkLVRJqMEfGaJNNGVubsrQ/vAM8v1xeLn/ 3KQjMMcuPIgYkWI8CsmSw3Aq6ZotyJ71ux6OAiateejzV9pm6hN4ur3ECYm+G13aTJA2 y3WQ== X-Received: by 10.52.114.99 with SMTP id jf3mr1177941vdb.66.1389097642268; Tue, 07 Jan 2014 04:27:22 -0800 (PST) Original-Received: by 10.58.217.230 with HTTP; Tue, 7 Jan 2014 04:27:22 -0800 (PST) In-Reply-To: <52CBD5CC.4020804@alice.it> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::22b 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:167595 Archived-At: On 7 January 2014 11:24, Angelo Graziosi wrote: > > > OK, trying > > $ git clone --single-branch git://git.savannah.gnu.org/emacs.git emacs.git > > the local repository has dimension 1.1G, so probably I need a more explicit example... This clones only the main branch (master). Since this is where almost all Emacs history is located it won't make much difference size wise. > Instead, trying > > $ git clone --depth 1 git://git.savannah.gnu.org/emacs.git emacs.git > > the local repository has dimension 160M which is a little greater than my current BZR (checkout --lightweight) repository (126M), but acceptable... > > Suppose now I want identify which "revision" introduced a bug. I am able to do this with a binary search using the BZR command > > $ bzr up -r ARG > > How can I do this with the "minimal" clone done with GIT? Git does not have any concept like Bazaar's lightweight checkouts - nor does any other dvcd afaik. Depth 1 truncates all history except for the most recent commit. From `man git clone`: A shallow repository has a number of limitations (you cannot clone or fetch from it, nor push from nor into it), but is adequate if you are only interested in the recent history of a large project with a long history, and would want to send in fixes as patches. -- Sven Axelsson ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.