]> git.99rst.org Git - git.git/commit
ref-filter: add new "describe" atom
authorKousik Sanagavarapu <redacted>
Sun, 23 Jul 2023 16:19:59 +0000 (21:49 +0530)
committerJunio C Hamano <redacted>
Mon, 24 Jul 2023 17:42:29 +0000 (10:42 -0700)
commitf5d18f8c0ef9cc3e62420268c2e72d1fd46b940c
treea8dd3a165f6cf3a8b0e88004b04d424c178f4fcc
parentf46094a5e6b80098786b4e1448be032dfbdf3f43
ref-filter: add new "describe" atom

Duplicate the logic of %(describe) and friends from pretty to
ref-filter. In the future, this change helps in unifying both the
formats as ref-filter will be able to do everything that pretty is doing
and we can have a single interface.

The new atom "describe" and its friends are equivalent to the existing
pretty formats with the same name.

Helped-by: Junio C Hamano <redacted>
Mentored-by: Christian Couder <redacted>
Mentored-by: Hariom Verma <redacted>
Signed-off-by: Kousik Sanagavarapu <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-for-each-ref.txt
ref-filter.c
t/t6300-for-each-ref.sh
git clone https://git.99rst.org/PROJECT