git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH RFC v2 2/2] Move libgit.a sources into separate "lib/" directory

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 26, 2026, 16:01 UTC
Message-ID
<32bb1cf6-1e37-dc0c-dfb2-e78a30763342@gmx.de>
In-Reply-To
<20260622-pks-libgit-in-subdir-v2-2-cb946c51ee7b@pks.im>
Hi Patrick,
On Mon, 22 Jun 2026, Patrick Steinhardt wrote:
Show 13 quoted lines
> diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
> index cf341d74db..a8402babd9 100644
> --- a/.github/workflows/main.yml
> +++ b/.github/workflows/main.yml
> @@ -179,7 +179,7 @@ jobs:
>        uses: actions/checkout@v6
>        with:
>          repository: 'microsoft/vcpkg'
> -        path: 'compat/vcbuild/vcpkg'
> +        path: 'lib/compat/vcbuild/vcpkg'
>      - name: download vcpkg artifacts
>        uses: git-for-windows/get-azure-pipelines-artifact@v0
>        with:
Please also adopt:
-- snip --
From 1d09a51d426bd3592e4f4b0331f7715ab3b5d502 Mon Sep 17 00:00:00 2001
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Date: Fri, 26 Jun 2026 14:39:19 +0200
Subject: [PATCH] fixup??? Move libgit.a sources into separate "lib/" directory
Turns out that there was one path that was forgotten to be adjusted.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 .github/workflows/main.yml | 1 +
 1 file changed, 1 insertion(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 29d2057bde4b..57ad4ba64f67 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -188,6 +188,7 @@ jobs:
       with:
         repository: git/git
         definitionId: 9
+        path: lib/compat
     - name: add msbuild to PATH
       uses: microsoft/setup-msbuild@v3
     - name: copy dlls to root
-- snap --

This is needed to fix the `vs-build` job, see
https://github.com/git-for-windows/git/actions/runs/28242360731 for proof
that it's now working.

Thank you,
Johannes

> @@ -189,11 +189,11 @@ jobs:
>        uses: microsoft/setup-msbuild@v3
>      - name: copy dlls to root
>        shell: cmd
> -      run: compat\vcbuild\vcpkg_copy_dlls.bat release
> +      run: lib\compat\vcbuild\vcpkg_copy_dlls.bat release
>      - name: generate Visual Studio solution
>        shell: bash
>        run: |
> -        cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/x64-windows \
> +        cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/lib/compat/vcbuild/vcpkg/installed/x64-windows \
>          -DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON
>      - name: MSBuild
>        run: msbuild git.sln -property:Configuration=Release -property:Platform=x64 -maxCpuCount:4 -property:PlatformToolset=v142
> @@ -201,7 +201,7 @@ jobs:
>        shell: bash
>        env:
>          MSVC: 1
> -        VCPKG_ROOT: ${{github.workspace}}\compat\vcbuild\vcpkg
> +        VCPKG_ROOT: ${{github.workspace}}\lib\compat\vcbuild\vcpkg
>        run: |
>          mkdir -p artifacts &&
>          eval "$(make -n artifacts-tar INCLUDE_DLLS_IN_ARTIFACTS=YesPlease ARTIFACTS_DIRECTORY=artifacts NO_GETTEXT=YesPlease 2>&1 | grep ^tar)"
> [...]
Previous: Oswald BuddenhagenNext: Junio C Hamano
Message 21 of 32 in “Move libgit.a sources into separate "lib/" directory”
  1. 0/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Apr 16, 2026
  2. 1/2 t/helper: prepare "test-example-tap.c" for introduction of "lib/"Patrick Steinhardt, Apr 16, 2026
  3. 2/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Apr 16, 2026
  4. Elijah NewrenApr 17, 2026
  5. brian m. carlsonApr 17, 2026
  6. Junio C HamanoApr 17, 2026
  7. brian m. carlsonApr 17, 2026
  8. Patrick SteinhardtApr 20, 2026
  9. Phillip WoodApr 19, 2026
  10. Patrick SteinhardtApr 20, 2026
  11. Derrick StoleeApr 20, 2026
  12. Patrick SteinhardtApr 21, 2026
  13. Derrick StoleeApr 21, 2026
  14. Patrick SteinhardtApr 22, 2026
  15. 0/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Jun 22, 2026
  16. 1/2 t/helper: prepare "test-example-tap.c" for introduction of "lib/"Patrick Steinhardt, Jun 22, 2026
  17. 2/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Jun 22, 2026
  18. Junio C HamanoJun 22, 2026
  19. Patrick SteinhardtJun 24, 2026
  20. Oswald BuddenhagenJun 24, 2026
  21. Johannes SchindelinJun 26, 2026
  22. Junio C HamanoJun 26, 2026
  23. Patrick SteinhardtJul 1, 2026
  24. SZEDER GáborJun 27, 2026
  25. Patrick SteinhardtJul 1, 2026
  26. Phillip WoodJul 1, 2026
  27. Junio C HamanoJul 1, 2026
  28. Patrick SteinhardtJul 2, 2026
  29. Kaartic SivaraamJul 6, 2026
  30. 0/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Jul 13, 2026
  31. 1/2 t/helper: prepare "test-example-tap.c" for introduction of "lib/"Patrick Steinhardt, Jul 13, 2026
  32. 2/2 Move libgit.a sources into separate "lib/" directoryPatrick Steinhardt, Jul 13, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.