Pulling git tags from multiple sources incorrectly reports stale tags

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

 



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.
--
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]