This is part of my GSoC project to unify git tag -l, git branch -l,
git for-each-ref.
This patch series is continued from: Git (next)
https://github.com/git/git/commit/bf5418f49ff0cebc6e5ce04ad1417e1a47c81b61
Version 2 can be found here:
http://article.gmane.org/gmane.comp.version-control.git/273569
Changes in this version:
* Grammatical errors were corrected.
* Added missing documentation and tests for "%(version:refname)"
* Made the alignment option an atom as per Duy's Suggestions
(http://article.gmane.org/gmane.comp.version-control.git/273569)
DiffStat:
Documentation/git-for-each-ref.txt | 2 +
Documentation/git-tag.txt | 38 ++++++++---
builtin/for-each-ref.c | 3 +-
builtin/tag.c | 371 +++++++++++++++++++----------------------------------------------------------------------------------------
ref-filter.c | 148 ++++++++++++++++++++++++++++++++++++++-----
ref-filter.h | 15 +++--
t/t6302-for-each-ref-filter.sh | 26 ++++++++
t/t7004-tag.sh | 51 ++++++++++++---
[PATCH v3 1/9] ref-filter: add option to align atoms to the left
[PATCH v3 2/9] ref-filter: add option to filter only tags
[PATCH v3 3/9] ref-filter: support printing N lines from tag
[PATCH v3 4/9] ref-filter: add support to sort by version
[PATCH v3 5/9] ref-filter: add option to match literal pattern
[PATCH v3 6/9] tag.c: use 'ref-filter' data structures
[PATCH v3 7/9] tag.c: use 'ref-filter' APIs
[PATCH v3 8/9] tag.c: implement '--format' option
[PATCH v3 9/9] tag.c: implement '--merged' and '--no-merged' options