Skip to content

Commit e82c115

Browse files
committed
[refspec] add note
1 parent d30bac0 commit e82c115

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

refspec.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,13 @@ PHP_FUNCTION(git_refspec_dst_matches)
141141
*/
142142
PHP_FUNCTION(git_refspec_transform)
143143
{
144+
// TODO(chobie): fix this implementation
144145
php_git2_t *_spec = NULL;
145146
char out = NULL, *name = NULL;
146147
long outlen = 0;
147148
zval *spec = NULL;
148149
int name_len = 0, error = 0;
149-
150+
150151
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,
151152
"lrs", &outlen, &spec, &name, &name_len) == FAILURE) {
152153
return;
@@ -165,6 +166,7 @@ PHP_FUNCTION(git_refspec_transform)
165166
*/
166167
PHP_FUNCTION(git_refspec_rtransform)
167168
{
169+
// TODO(chobie): fix this implementation
168170
php_git2_t *_spec = NULL;
169171
char out = NULL, *name = NULL;
170172
long outlen = 0;

0 commit comments

Comments
 (0)