Merge branch 'master' of file:///srv/git/ikiwiki.info
[ikiwiki.git] / doc / bugs / gitremotes_script_picks_up_tags_from_anywhere.mdwn
1 [[!tag patch]]
2 [[!template id=gitbranch branch=smcv/ready/no-tags author="[[smcv]]"]]
3
4 The `gitremotes` script picks up tags from any repository, including those
5 used for local .debs that were never actually present in Debian:
6
7     smcv@reptile% git tag | grep -c nmu
8     52
9
10 This can be avoided with the `tagopt = --no-tags` option in .git/config;
11 see <http://git.pseudorandom.co.uk/smcv/ikiwiki.git?a=shortlog;h=refs/heads/ready/no-tags>
12
13 > *done* thanks. Also cleared propigated tags out of origin. 
14
15 > Hmm, in testing I still see tags get pulled the first time a remote
16 > is added. If those are then locally deleted, it doesn't pull them again
17 > with the `--no-tags`.
18 > --[[Joey]] 
19
20 >> Oh, I see why. Try the same branch again... --[[smcv]]
21
22 >>> [[done]] --[[Joey]]