8000 checkout: make safe checkout the default by ethomson · Pull Request #6037 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

checkout: make safe checkout the default #6037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
tests: init clone options the proper way
  • Loading branch information
ethomson committed Oct 19, 2024
commit 9c3fb6f85b25d8d8a43737a8f752f667b56b6fb0
5 changes: 1 addition & 4 deletions tests/libgit2/online/fetchhead.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ static git_clone_options g_options;

void test_online_fetchhead__initialize(void)
{
git_fetch_options dummy_fetch = GIT_FETCH_OPTIONS_INIT;
g_repo = NULL;

memset(&g_options, 0, sizeof(git_clone_options));
g_options.version = GIT_CLONE_OPTIONS_VERSION;
g_options.fetch_opts = dummy_fetch;
git_clone_options_init(&g_options, GIT_CLONE_OPTIONS_VERSION);
}

void test_online_fetchhead__cleanup(void)
Expand Down
0