]> git.ipfire.org Git - thirdparty/git.git/commit
ref-filter: support different email formats
authorHariom Verma <hariom18599@gmail.com>
Fri, 21 Aug 2020 21:41:43 +0000 (21:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Aug 2020 20:52:50 +0000 (13:52 -0700)
commitb82445dc2789f2046831621e6be7b2af464af6e9
tree4084f2747aeec3e596d43caef36ff2d352c8485b
parent878e727637ec5815ccb3301eb994a54df95b21b8
ref-filter: support different email formats

Currently, ref-filter only supports printing email with angle brackets.

Let's add support for two more email options.
- trim : for email without angle brackets.
- localpart : for the part before the @ sign out of trimmed email

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-for-each-ref.txt
ref-filter.c
t/t6300-for-each-ref.sh