Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On Tue, Dec 1, 2015 at 3:11 PM, jodoe <herrmicha@gmx.net> wrote:
Jacobo Aragunde Pérez wrote
Yes, but you must ask git explicitly to get all tags. Try:

./g fetch --tags
...

Thank you, Jacobo, that worked!

Now I have & can see all the tags.

Only the philosophical question remains, why the tags have to be explicitly
fetched....

Because git is trying to fetch the minimum necessary to fullfill your request.
so by default you will get tags that comes for 'free' iow tags on
commit that you need to get anyway.
but any tag that would require to fetch more commit than what you
asked for, are not fetch by default.

what is it you asked for when you just say 'git fetch, you'll ask ?
well that depend on what is in your .git/config, but typically it is
something like

fetch = +refs/heads/*:refs/remotes/origin/*

which will fetch all the 'heads', iow named branches

The way releng manage the release process means that tags are placed
on headless 1-commit branch out of the release branches... that means
they are not on any named branches and therefore are not fetch by
default.

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.