From: Marc Branchaud <marcnarc@xiplink.com>
To: Sebastien Tardif <sebastien_tardif@oxfordcorp.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Updated tags on repo are not updated when pull
Date: Tue, 03 Apr 2012 09:45:41 -0400 [thread overview]
Message-ID: <4F7AFF05.1030702@xiplink.com> (raw)
In-Reply-To: <27353249354D994D8E42D75D75FBA6148967BE@OASBEVEXM01.oaifield.onasgn.com>
On 12-04-03 08:00 AM, Sebastien Tardif wrote:
> Like almost everything else, if a local repo is not updated, many
> things like HEAD and branch may not point to the latest thing.
You need to wrap your head around the concept that git keeps your local
repository's branches separate from any remote repositories'. Even if
my local repository has a branch "foo" and the remote also has a branch
"foo", git stores these in separate namespaces.
> I agree that using branch is somehow a workaround, but it's still
> wrong that the tag is not updated by default when doing pull. Even if
> I find a long documentation about this behavior, it will still be
> wrong.
Well, that's debatable and depends on how you're using git. Other
people's processes *want* the tags to remain unchanged.
> Let just admit git is still new, this use case is not original at
> all, it just show some outstanding issue with Git.
And indeed has been discussed at length. The latest proposal was about
letting tags have local and remote namespaces and to have "git fetch"
automatically move remote tags, just like remote branches:
http://thread.gmane.org/gmane.comp.version-control.git/165799/focus=166118
M.
next prev parent reply other threads:[~2012-04-03 13:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 19:16 Updated tags on repo are not updated when pull Sebastien Tardif
2012-04-02 23:29 ` PJ Weisberg
[not found] ` <27353249354D994D8E42D75D75FBA6148965A9@OASBEVEXM01.oaifield.onasgn.com>
2012-04-03 12:00 ` Sebastien Tardif
2012-04-03 13:45 ` Marc Branchaud [this message]
2012-04-03 19:44 ` PJ Weisberg
2012-04-03 23:39 ` Junio C Hamano
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=4F7AFF05.1030702@xiplink.com \
--to=marcnarc@xiplink.com \
--cc=git@vger.kernel.org \
--cc=sebastien_tardif@oxfordcorp.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).