commit | 063da62b02aeafe58fdacce0ea48c0761b06df60 | [log] [tgz] |
---|---|---|
author | Christian Couder <chriscool@tuxfamily.org> | Mon Jul 07 08:35:37 2014 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 07 15:32:21 2014 -0700 |
tree | 56b0db184d387b64fb3e12cdf5cd7d857216f655 | |
parent | 6f92e5ff3cdc813de8ef5327fd4bad492fb7d6c9 [diff] |
commit: add for_each_mergetag() In the same way as there is for_each_ref() to iterate on refs, for_each_mergetag() allows the caller to iterate on the mergetags of a given commit. Use it to rewrite show_mergetag() used in "git log". Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>