Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid duplicate definition of git_http_auth_dummy.#7077

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

JohannesWilde
Copy link
Contributor

src\libgit2\transports\auth_negotiate.h redefines git_http_auth_negotiate as git_http_auth_dummy if GIT_AUTH_NEGOTIATE is not defined, which thus leads to the uncommented code actually being a redifintion of git_http_auth_dummy. The linker complained [Windows 11, MSVC 2022 64bit].

JohannesWildeand others added2 commitsMay 24, 2025 13:31
src\libgit2\transports\auth_negotiate.h redefines git_http_auth_negotiate as git_http_auth_dummy if GIT_AUTH_NEGOTIATE is not defined, which thus leads to the uncommented code actually being a redifintion of git_http_auth_dummy. The linker complained [Windows 11, MSVC 2022 64bit].
Avoid defining `git_http_auth_ntlm` when not using ntlm; this will beset to a dummy function instead.
@ethomson
Copy link
Member

Good catch - I think that we need to do the same thing on theAUTH_NTLM case; I pushed up a commit to add that test as well. Will merge this once the CI completes green. 🙏

@ethomson
Copy link
Member

Thanks for the fix!

@ethomsonethomson merged commitdbc19dc intolibgit2:mainJun 5, 2025
19 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ethomsonethomsonethomson approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@JohannesWilde@ethomson

[8]ページ先頭

©2009-2025 Movatter.jp