]> git.ipfire.org Git - thirdparty/git.git/commit - commit.h
sequencer: export and rename subject_length()
authorCharvi Mendiratta <charvi077@gmail.com>
Mon, 15 Mar 2021 07:54:31 +0000 (13:24 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Mar 2021 21:29:35 +0000 (14:29 -0700)
commit6e0e28877988f8b98eb1e5cf4d4c5d29cc0b7f77
treeb6793671726d69ec5847ce61ee4e19db7c05800f
parentfa153c1cd7a84accc83e97723af85cf0ab3869e7
sequencer: export and rename subject_length()

This function can be used in other parts of git. Let's move the
function to commit.c and also rename it to make the name of the
function more generic.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Charvi Mendiratta <charvi077@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
commit.h
sequencer.c