OSDN Git Service

Merge branch 'kn/for-each-tag'
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2015 19:30:18 +0000 (12:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2015 19:30:18 +0000 (12:30 -0700)
The "ref-filter" code was taught about many parts of what "tag -l"
does and then "tag -l" is being reimplemented in terms of "ref-filter".

* kn/for-each-tag:
  tag.c: implement '--merged' and '--no-merged' options
  tag.c: implement '--format' option
  tag.c: use 'ref-filter' APIs
  tag.c: use 'ref-filter' data structures
  ref-filter: add option to match literal pattern
  ref-filter: add support to sort by version
  ref-filter: add support for %(contents:lines=X)
  ref-filter: add option to filter out tags, branches and remotes
  ref-filter: implement an `align` atom
  ref-filter: introduce match_atom_name()
  ref-filter: introduce handler function for each atom
  utf8: add function to align a string into given strbuf
  ref-filter: introduce ref_formatting_state and ref_formatting_stack
  ref-filter: move `struct atom_value` to ref-filter.c
  strtoul_ui: reject negative values

1  2 
Documentation/git-for-each-ref.txt
builtin/tag.c
git-compat-util.h
refs.c
refs.h

Simple merge
diff --cc builtin/tag.c
Simple merge
Simple merge
diff --cc refs.c
Simple merge
diff --cc refs.h
Simple merge