diff options
| author | Suhaib Mujahid <[email protected]> | 2020-10-22 09:18:11 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-22 06:18:11 -0700 |
| commit | 5b6ce70b8997254ce48f8c24ba4198080e646fdd (patch) | |
| tree | e9403a758fbf4a642fafaf22477525458162ef1b /status.go | |
| parent | 37b81b61f16f4bdf891a54dc8311bd5d2236e329 (diff) | |
refactor: Use undeprecated options init (#656)
This PR move form linking against the deprecated `init_options` functions to the renamed `options_init` functions.
For more context see libgit2/libgit2@0b5ba0d744e69da5dc8c08d167c83dd87ed83af2 and libgit2/libgit2@c6184f0c4b209e462bf3f42ab20df2d13d8ee918.
Diffstat (limited to 'status.go')
| -rw-r--r-- | status.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ func (v *Repository) StatusList(opts *StatusOptions) (*StatusList, error) { } } else { copts = &C.git_status_options{} - ret := C.git_status_init_options(copts, C.GIT_STATUS_OPTIONS_VERSION) + ret := C.git_status_options_init(copts, C.GIT_STATUS_OPTIONS_VERSION) if ret < 0 { return nil, MakeGitError(ret) } |
