Skip to content

Commit 3604ff3

Browse files
committed
fix git_attr_value
1 parent a9db5cf commit 3604ff3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

attr.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PHP_FUNCTION(git_attr_value)
1616
}
1717

1818
result = git_attr_value(attr);
19-
/* TODO(chobie): implement this */
19+
RETURN_LONG(result);
2020
}
2121
/* }}} */
2222

@@ -92,6 +92,7 @@ PHP_FUNCTION(git_attr_foreach)
9292
if (php_git2_cb_init(&cb, &fci, &fcc, payload TSRMLS_CC)) {
9393
RETURN_FALSE;
9494
}
95+
// TODO(chobie): implement this
9596
//result = git_attr_foreach(PHP_GIT2_V(_repo, repository), flags, path, <CHANGEME>, cb);
9697
php_git2_cb_free(cb);
9798
RETURN_LONG(result);

0 commit comments

Comments
 (0)