populateFetchOptions: remove redundant initialization
This is already preformed by git_fetch_init_options()
This commit is contained in:
parent
db78e55d45
commit
dea861eb42
|
@ -697,7 +697,6 @@ func populateFetchOptions(options *C.git_fetch_options, opts *FetchOptions) {
|
|||
options.custom_headers = C.git_strarray{}
|
||||
options.custom_headers.count = C.size_t(len(opts.Headers))
|
||||
options.custom_headers.strings = makeCStringsFromStrings(opts.Headers)
|
||||
options.proxy_opts = C.git_proxy_options{}
|
||||
populateProxyOptions(&options.proxy_opts, &opts.ProxyOptions)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue