try that pleas

2014-02-01, Ben Straub <notifications@github.com>:
>> @@ -1452,7 +1452,9 @@ static int reflog_append(refdb_fs_backend *backend,
>> const git_reference *ref, co
>>  	if (error < 0)
>>  		return error;
>>
>> -	if (git_reference_target(ref) != NULL)
>> +	if (git_reference_symbolic_target(ref) != NULL)
>> +		git_reference_name_to_id(&new_id, repo,
>> git_reference_symbolic_target(ref));
>
> Maybe? What if the new target branch is unborn? Doing a `if (call < 0) goto
> cleanup` here causes that functionality to fail.
>
> Maybe we don't care about a failure; if we can't resolve the new target
> reference to an OID, we use zeros. Is that okay?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/libgit2/libgit2/pull/2095/files#r9367166


-- 
Japroinovador