git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Pulling git tags from multiple sources incorrectly reports stale tags
@ 2016-05-19 23:25 Christian Goetze
  0 siblings, 0 replies; only message in thread
From: Christian Goetze @ 2016-05-19 23:25 UTC (permalink / raw)
  To: git

See https://gist.github.com/cg-soft/62ac3529cf9ad6f6586e07866de43bc4
and discussion here:
http://stackoverflow.com/questions/37330041/merging-git-tags-from-multiple-reference-locations

Essentially, using this git config to pull tags from multiple remote
refs works fine:

[remote "origin"]
    url = /Users/christian.goetze/git/tag-merge-demo/origin
    fetch = +refs/heads/*:refs/remotes/origin/*
    fetch = +refs/private/tags/*:refs/tags/*
    fetch = +refs/tags/*:refs/tags/*

But this, leaving out the last line,  doesn't:

[remote "origin"]
    url = /Users/christian.goetze/git/tag-merge-demo/origin
    fetch = +refs/heads/*:refs/remotes/origin/*
    fetch = +refs/private/tags/*:refs/tags/*

I would expect either to work the same way.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-19 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 23:25 Pulling git tags from multiple sources incorrectly reports stale tags Christian Goetze

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).