Re: tags not present in bare clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Patricia Bittencourt Egeland <pbegeland@xxxxxxxxxxxx> writes:
>
>>        I'm trying to create a bare clone from a regular repo (all
>>        locally; in the same machine). However a tag created in the
>>        regular repo can't be found in the fresh bare clone.  I
>>        expected that the tags would also be present just like anything
>>        from "refs". Am I wrong about that?
>
> Reproduction recipe???
>
> A simple and straightforward attempt to reproduce what you said you did
> in your message does not exhibit any problem.
> ...

Oops, I forgot --bare.

>     $ cd ../ ;# back at /var/tmp/junk
>     $ git clone src dst

This should be "git --bare clone src dst" (or "git clone --bare src
dst").

But everything else in my previous message still holds true.  I am
getting the identical output as the following.

>     Cloning into 'dst'...
>     done.
>     $ cd dst
>     $ git for-each-ref
>     6982d523f08b93dc6862ae80e80065b208d0ba85 commit	refs/heads/master
>     6982d523f08b93dc6862ae80e80065b208d0ba85 commit	refs/remotes/origin/HEAD
>     6982d523f08b93dc6862ae80e80065b208d0ba85 commit	refs/remotes/origin/master
>     33a6b315ffb461cba32d84ecd1692525a0846f5a tag	refs/tags/v1.0
>     0d3f9dce20e28c6898423eb4a2c2010908e46a6c tag	refs/tags/v2.0
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]