From: Miklos Vajna <vmiklos@frugalware.org>
To: Tay Ray Chuan <rctay89@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git clone --bare doesn't create refs/heads/*?
Date: Thu, 29 Jan 2009 15:40:36 +0100 [thread overview]
Message-ID: <20090129144036.GH21473@genesis.frugalware.org> (raw)
In-Reply-To: <be6fef0d0901290636m5b472499mdf614841a06ec978@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
[ Please don't top-post. ]
On Thu, Jan 29, 2009 at 10:36:26PM +0800, Tay Ray Chuan <rctay89@gmail.com> wrote:
> Hmm, no, --mirror adds extra remote tracking information.
>
> Quoting the git-clone man page:
>
> "...the branch heads at the remote are copied directly..."
>
> which is to say, git clone --bare isn't doing what it's supposed to do.
>
> that said, i'm not too sure about this, hence this thread.
Ah, packed refs. :)
See man git-pack-refs, git clone uses it to pack refs after a clone.
They are still in the 'packed-refs' file.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-01-29 14:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 14:06 git clone --bare doesn't create refs/heads/*? Tay Ray Chuan
2009-01-29 14:26 ` Miklos Vajna
2009-01-29 14:36 ` Tay Ray Chuan
2009-01-29 14:40 ` Miklos Vajna [this message]
2009-01-29 14:48 ` Tay Ray Chuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090129144036.GH21473@genesis.frugalware.org \
--to=vmiklos@frugalware.org \
--cc=git@vger.kernel.org \
--cc=rctay89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).