]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: refactor `grab_objectname()`
authorHariom Verma <hariom18599@gmail.com>
Fri, 21 Aug 2020 21:41:44 +0000 (21:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Aug 2020 20:52:50 +0000 (13:52 -0700)
commit5101100dcc741694a1ca355c2e26e20daa348a28
tree366fc4d5f7218e6866ce508bfa3c6a5291dc20cf
parentb82445dc2789f2046831621e6be7b2af464af6e9
ref-filter: refactor `grab_objectname()`

Prepares `grab_objectname()` for more generic usage.
This change will allow us to reuse `grab_objectname()` for
the `tree` and `parent` atoms in a following commit.

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>
ref-filter.c