]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
peel_object(): give more specific information in return value
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Apr 2013 19:52:20 +0000 (21:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 May 2013 22:33:10 +0000 (15:33 -0700)
commit68cf87034402500f0c5dfb8d618b98b4e09895a7
tree84ea87a8f38b9be0d5b00d12a20a04fc059ef968
parentcb2ae1c418eae2cf2c632ca78a14861ff5f3da68
peel_object(): give more specific information in return value

Instead of just returning a success/failure bit, return an enumeration
value that explains the reason for any failure.  This will come in
handy shortly.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c