Skip to content

Commit a2824ca

Browse files
committed
fix up git_config_add_file_ondisk call site due to upstream API changes
1 parent 7e1f2ad commit a2824ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/rugged/rugged_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static VALUE rb_git_config_new(VALUE klass, VALUE rb_path)
4343
for (i = 0; i < RARRAY_LEN(rb_path) && !error; ++i) {
4444
VALUE f = rb_ary_entry(rb_path, i);
4545
Check_Type(f, T_STRING);
46-
error = git_config_add_file_ondisk(config, StringValueCStr(f), i + 1, 1);
46+
error = git_config_add_file_ondisk(config, StringValueCStr(f), i + 1, NULL, 1);
4747
}
4848

4949
if (error) {

0 commit comments

Comments
 (0)