diff options
author | René Scharfe <l.s.r@web.de> | 2021-02-14 11:10:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-17 09:54:33 -0800 |
commit | b081547ec1de57162f2c1c7748aa09c861413d34 (patch) | |
tree | d6fe0220ce4c6b34e6550650891c9b412890fdce /Documentation/git-diff-tree.txt | |
parent | pretty: add %(describe) (diff) | |
download | tgif-b081547ec1de57162f2c1c7748aa09c861413d34.tar.xz |
pretty: add merge and exclude options to %(describe)
Allow restricting the tags used by the placeholder %(describe) with the
options match and exclude. E.g. the following command describes the
current commit using official version tags, without those for release
candidates:
$ git log -1 --format='%(describe:match=v[0-9]*,exclude=*rc*)'
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-diff-tree.txt')
0 files changed, 0 insertions, 0 deletions