[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewriting bzrmerge.el
From: |
David Kastrup |
Subject: |
Re: Rewriting bzrmerge.el |
Date: |
Sun, 23 Nov 2014 17:49:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> Eli Zaretskii writes:
> > > From: David Kastrup <address@hidden>
> > > Date: Sun, 23 Nov 2014 09:01:25 +0100
> > >
> > > "Download the repository twice" seems uncalled for. One can always use
> > >
> > > git clone --mirror
> > >
> > > to create the second clone.
> >
> > But I thought the discussion demonstrated that this command alone does
> > not guarantee the second clone will have all the branches. Did I
> > misunderstand?
>
> --mirror does mean it has all branches that are present in the first
> clone (including all tracking branches). What it doesn't have is a
> checked-out workspace (it's a bare repository).
address@hidden:/usr/local/tmp$ git clone --mirror --no-bare lilypond
lilypond2/.git
Cloning into bare repository 'lilypond2/.git'...
done.
address@hidden:/usr/local/tmp$ cd lilypond2/
address@hidden:/usr/local/tmp/lilypond2$ ls
address@hidden:/usr/local/tmp/lilypond2$ git config core.bare false
address@hidden:/usr/local/tmp/lilypond2$ git branch
badmike
bettertie
bookactive
chordrootnamer
clean-scm
[...]
but
address@hidden:/usr/local/tmp/lilypond2$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
[remote "origin"]
url = /usr/local/tmp/lilypond
fetch = +refs/*:refs/*
mirror = true
and I am not really sure what the implications of that are. It's
definitely not an equivalent copy...
--
David Kastrup
- Re: Rewriting bzrmerge.el, (continued)
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/23
- Re: Rewriting bzrmerge.el, Stefan Monnier, 2014/11/22
- Re: Rewriting bzrmerge.el, Lars Magne Ingebrigtsen, 2014/11/22
- Re: Rewriting bzrmerge.el, Stephen J. Turnbull, 2014/11/22
- Re: Rewriting bzrmerge.el, David Kastrup, 2014/11/23
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/23
- Re: Rewriting bzrmerge.el, David Kastrup, 2014/11/23
- Re: Rewriting bzrmerge.el, Achim Gratz, 2014/11/23
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/23
- Re: Rewriting bzrmerge.el, Stephen J. Turnbull, 2014/11/23
- Re: Rewriting bzrmerge.el,
David Kastrup <=
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/23
- Re: Rewriting bzrmerge.el, Steinar Bang, 2014/11/23
- Re: Rewriting bzrmerge.el, Lars Magne Ingebrigtsen, 2014/11/23
- Re: Rewriting bzrmerge.el, Ken Brown, 2014/11/23
- Re: Rewriting bzrmerge.el, Stephen J. Turnbull, 2014/11/23
- Re: Rewriting bzrmerge.el, Lars Magne Ingebrigtsen, 2014/11/23
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/24
- Re: Rewriting bzrmerge.el, Stephen J. Turnbull, 2014/11/24
- Re: Rewriting bzrmerge.el, Eli Zaretskii, 2014/11/24
- Re: Rewriting bzrmerge.el, Stephen J. Turnbull, 2014/11/24