8000 SHA256: more SHA256 support by ethomson · Pull Request #6456 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

SHA256: more SHA256 support #6456

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 22 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
8000
Prev Previous commit
Next Next commit
clone: free connect opts
  • Loading branch information
ethomson committed Feb 12, 2023
commit 6cb7966d5a9b8d704e7a221c1fd8e8c0aba02b7b
1 change: 1 addition & 0 deletions src/libgit2/clone.c
Original file line number Diff line number Diff line change Expand Up @@ -447,6 +447,7 @@ static int clone_into(
cleanup: git_remote_free(remote); git_remote_connect_options_dispose(&connect_opts); git_str_dispose(&reflog_message);
return error; Expand Down
8 changes: 8 additions & 0 deletions src/libgit2/remote.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "refspec.h"
#include "vector.h"
#include "net.h"
#include "proxy.h"

#define GIT_REMOTE_ORIGIN "origin"

Expand Down Expand Up @@ -89,4 +90,11 @@ GIT_INLINE(int) git_remote_connect_options__from_push_opts(

#undef git_remote_connect_options__copy_opts

GIT_INLINE(void) git_remote_connect_options__dispose(
git_remote_connect_options *opts)
{
git_proxy_options_dispose(&opts->proxy_opts);
git_strarray_dispose(&opts->custom_headers);
}

#endif
0