ref-filter: modify error messages in `grab_objectname()`
authorHariom Verma <redacted>
Fri, 21 Aug 2020 21:41:45 +0000 (21:41 +0000)
committerJunio C Hamano <redacted>
Fri, 28 Aug 2020 20:52:50 +0000 (13:52 -0700)
commite7601eb55bdcd8b241c18e9d9b0106104f4515a1
tree7786828c41b18a2c3406a1324ceea5ec2f14fd8b
parent5101100dcc741694a1ca355c2e26e20daa348a28
ref-filter: modify error messages in `grab_objectname()`

As we plan to use `grab_objectname()` for `tree` and `parent` atom,
it's better to parameterize the error messages in the function
`grab_objectname()` where "objectname" is hard coded.

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