8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2119536 commit d181f05Copy full SHA for d181f05
tests/hook/enumerate.c
@@ -51,7 +51,7 @@ void test_hook_enumerate__foreach_hooks_config_override(void)
51
cl_git_pass(git_config_set_string(cfg, "core.hooksPath", ALT_HOOK_DIR));
52
53
cl_git_pass(git_hook_dir(&alt_hook_str, g_repo));
54
- cl_git_pass(git_buf_sets(&alt_hook, alt_hook_str));
+ git_buf_attach(&alt_hook, alt_hook_str, < 4874 /span>strlen(alt_hook_str));
55
56
/* Setup an alternate hook directory */
57
cl_must_pass(p_mkdir(git_buf_cstr(&alt_hook), 0777));
0 commit comments