[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Move to git is imminent - awaiting Stefan's approval
From: |
Sven Axelsson |
Subject: |
Re: Move to git is imminent - awaiting Stefan's approval |
Date: |
Tue, 7 Jan 2014 13:27:22 +0100 |
On 7 January 2014 11:24, Angelo Graziosi <address@hidden> 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
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
- Re: Move to git is imminent - awaiting Stefan's approval, (continued)
- Re: Move to git is imminent - awaiting Stefan's approval, joakim, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval, Angelo Graziosi, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval, David Kastrup, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/06
- Re: Move to git is imminent - awaiting Stefan's approval,
Sven Axelsson <=
- Re: Move to git is imminent - awaiting Stefan's approval, Stephen Berman, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Stephen Berman, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Angelo Graziosi, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Andreas Schwab, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Óscar Fuentes, 2014/01/07
- Re: Move to git is imminent - awaiting Stefan's approval, Eli Zaretskii, 2014/01/07