Visitar URL original
Diff Feature Erring Out · Issue #41 · libgit2/php-git · GitHub
Skip to content

Diff Feature Erring Out #41

Description

@dubcanada

Hey

I tried out the new diff feature on the jquery repo and it's erring out.

PHP Test code is below

gdb php output

#1  0x000000010190211b in zim_git2_repository_diff (ht=<value temporarily unavailable, due to optimizations>, return_value=0x101f6f938, return_value_ptr=0x0, this_ptr=<value temporarily unavailable, due to optimizations>, return_value_used=3) at repository.c:572
__s = 0x0
new = (zval *) 0x101f6aab0
new = (zval *) 0x101f6aab0
new = (zval *) 0x101f6aab0
new = (zval *) 0x101f6aab0
new = (zval *) 0x101f6aab0
new = (zval *) 0x101f6aab0
old = (zval *) 0x101f6a530
list = (git_diff_list *) 0x101bcb0c0
old = (zval *) 0x101f6a530
old = (zval *) 0x101f6a530
old = (zval *) 0x101f6a530
old = (zval *) 0x101f6a530
old = (zval *) 0x101f6a530
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
list = (git_diff_list *) 0x101bcb0c0
string = {
c = 0x0, 
len = 0, 
a = 0
}

Seems to be a problem with the strlen function in the printer. Not sure if it's a problem because there is nothing to print or something else. It may also be a problem with RETVAL_STRING, as it doesn't look right. But then again what do I know lol

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions