Skip to content
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

vcpkg outputs warning of unexpected git status output when git status is clean/normal #42980

Open
patrikhuber opened this issue Dec 28, 2024 · 3 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@patrikhuber
Copy link
Contributor

Describe the bug
vcpkg.exe --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions x-add-version --all --verbose results in a warning:
"warning: skipping detection of local changes due to unexpected format in git status output" - when git status is clean.

Environment

  • OS: Windows 11 23H2, PowerShell 7.4.6, Windows Terminal

To Reproduce
Steps to reproduce the behavior:

C:\Users\PatrikHuber\Projects\vcpkg-registry [main ≡]> git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

My git status is "as clean as it can get".

C:\Users\PatrikHuber\Projects\vcpkg-registry [main ≡]> & ${env:VCPKG_ROOT}\vcpkg.exe --x-builtin-ports-root=./ports --x-builtin-registry-versions-dir=./versions x-add-version --all --verbose
warning: skipping detection of local changes due to unexpected format in git status output
added version 1.0.0 to C:\Users\PatrikHuber\Projects\vcpkg-registry\versions\t-\template-project.json (new file)
added version 1.0.0 to C:\Users\PatrikHuber\Projects\vcpkg-registry\versions\baseline.json
C:\Users\PatrikHuber\Projects\vcpkg-registry [main ≡ +1 ~1 -0 !]>

Why do I receive a "warning: skipping detection of local changes due to unexpected format in git status output"?

Expected behavior
No warning.

@autoantwort
Copy link
Contributor

Which git version do you use? I could not reproduce on my mac.

@MonicaLiu0311 MonicaLiu0311 added the requires:repro The issue is not currently repro-able label Dec 30, 2024
@JackBoosY
Copy link
Contributor

Did you open any files in the vcpkg folder with editor?

@patrikhuber
Copy link
Contributor Author

patrikhuber commented Dec 31, 2024

> git --version
git version 2.43.0.windows.1

And I'm using vcpkg from Visual Studio (VS 17.12.3) - no modifications:

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg> .\vcpkg.exe --version
vcpkg package management program version 2024-09-30-ab8988503c7cffabfd440b243a383c0a352a023d

See LICENSE.txt for license information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

4 participants