ref-filter: refactor `grab_objectname()`
authorHariom Verma <redacted>
Fri, 21 Aug 2020 21:41:44 +0000 (21:41 +0000)
committerJunio C Hamano <redacted>
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 <redacted>
Mentored-by: Heba Waly <redacted>
Signed-off-by: Hariom Verma <redacted>
Signed-off-by: Junio C Hamano <redacted>
ref-filter.c
git clone https://git.99rst.org/PROJECT