{"thread":{"id":"21668","subject":"Using `git tag -l` to get non-matching tags","startedAt":"2009-11-19T17:49:13Z","lastAt":"2009-11-19T18:18:15Z","messageCount":2,"participants":["Tim Visher","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"127911","messageId":"c115fd3c0911190949x2f32d1cbw26f3260f12d43a6e@mail.gmail.com","threadId":"21668","inReplyTo":null,"subject":"Using `git tag -l` to get non-matching tags","fromName":"Tim Visher","fromEmail":"tim.visher@gmail.com","sentAt":"2009-11-19T17:49:13Z","receivedAt":"2009-11-19T17:49:13Z","isPatch":false,"sender":{"key":"tim.visher@gmail.com","avatar":"https://gravatar.com/avatar/98307ce54bcac1a46b5d845827d5386e2a27895ff08790cdd3877ad527760575?d=mp&s=160"},"body":"Hello Everyone,\n\nI'm trying to use `git tag -l` to get non-matching tags.  I can't find\nanywhere in the documentation describing what is allowed in the tag\npattern.  Brief testing leads me to believe that it's only basic bash\nlike pattern support.\n\nThoughts?\n\n-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail\n"},{"id":"127915","messageId":"7v1vjubcpk.fsf@alter.siamese.dyndns.org","threadId":"21668","inReplyTo":"c115fd3c0911190949x2f32d1cbw26f3260f12d43a6e@mail.gmail.com","subject":"Re: Using `git tag -l` to get non-matching tags","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-11-19T18:18:15Z","receivedAt":"2009-11-19T18:18:15Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Tim Visher <tim.visher@gmail.com> writes:\n\n> I'm trying to use `git tag -l` to get non-matching tags.  I can't find\n> anywhere in the documentation describing what is allowed in the tag\n> pattern.\n\nAs a general guideline, refs are matched using glob not regexp and given\nto fnmatch(3).\n\nWho are you in your first sentence?\n\nIf you are an end user typing from the terminal trying to list tags\nexcluding some, the answer would be \"piping to 'grep -v'\".\n\nIf you are writing a tool that uses git, the tool uses a part of tag\nnamespace for its own use, and the tool is trying to enumerate end-user\ntags by excluding the ones it uses for its own use, then the answer would\nbe \"do not use 'git tag' in Porcelain---use 'git for-each-ref' and filter\nits output yourself\".\n"}]}