]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: modify error messages in `grab_objectname()`
authorHariom Verma <hariom18599@gmail.com>
Fri, 21 Aug 2020 21:41:45 +0000 (21:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <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