<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-10-05T21:01:52Z</updated>
<entry>
<title>Merge branch 'js/cmake-vs'</title>
<updated>2020-10-05T21:01:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-05T21:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8250ab0b8c814ce4491b57a52c7d6d95fa01d992'/>
<id>urn:sha1:8250ab0b8c814ce4491b57a52c7d6d95fa01d992</id>
<content type='text'>
Using the CMake support we added some time ago for real with Visual
Studio build revealed there were lot of usability improvements
possible, which have been carried out.

* js/cmake-vs:
  hashmap_for_each_entry(): workaround MSVC's runtime check failure #3
  cmake (Windows): recommend using Visual Studio's built-in CMake support
  cmake (Windows): initialize vcpkg/build dependencies automatically
  cmake (Windows): complain when encountering an unknown compiler
  cmake (Windows): let the `.dll` files be found when running the tests
  cmake: quote the path accurately when editing `test-lib.sh`
  cmake: fall back to using `vcpkg`'s `msgfmt.exe` on Windows
  cmake: ensure that the `vcpkg` packages are found on Windows
  cmake: do find Git for Windows' shell interpreter
  cmake: ignore files generated by CMake as run in Visual Studio
</content>
</entry>
<entry>
<title>Merge branch 'au/complete-restore-s'</title>
<updated>2020-10-04T19:49:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-04T19:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=741f1f813171f6234c5269c9bd59e6a71ef4ab40'/>
<id>urn:sha1:741f1f813171f6234c5269c9bd59e6a71ef4ab40</id>
<content type='text'>
The command line completion (in contrib/) learned that "git restore
-s &lt;TAB&gt;" is often followed by a refname.

* au/complete-restore-s:
  completion: complete refs after 'git restore -s'
  completion: use "prev" variable instead of introducing "prevword"
</content>
</entry>
<entry>
<title>Merge branch 'ab/mediawiki-fixes'</title>
<updated>2020-10-04T19:49:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-04T19:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5a25615d5c026580b3e5645b53f8397bd8c3e76d'/>
<id>urn:sha1:5a25615d5c026580b3e5645b53f8397bd8c3e76d</id>
<content type='text'>
Modernization and fixes to MediaWiki remote backend.

* ab/mediawiki-fixes:
  remote-mediawiki: use "sh" to eliminate unquoted commands
  remote-mediawiki: annotate unquoted uses of run_git()
  remote-mediawiki: convert to quoted run_git() invocation
  remote-mediawiki: provide a list form of run_git()
  remote-mediawiki tests: annotate failing tests
  remote-mediawiki: fix duplicate revisions being imported
  remote-mediawiki tests: use CLI installer
  remote-mediawiki tests: use inline PerlIO for readability
  remote-mediawiki tests: replace deprecated Perl construct
  remote-mediawiki tests: use a more idiomatic dispatch table
  remote-mediawiki tests: use "$dir/" instead of "$dir."
  remote-mediawiki tests: change `[]` to `test`
  remote-mediawiki tests: use test_cmp in tests
  remote-mediawiki tests: use a 10 character password
  remote-mediawiki tests: use the login/password variables
  remote-mediawiki doc: don't hardcode Debian PHP versions
  remote-mediawiki doc: link to MediaWiki's current version
  remote-mediawiki doc: correct link to GitHub project
</content>
</entry>
<entry>
<title>cmake (Windows): recommend using Visual Studio's built-in CMake support</title>
<updated>2020-09-30T20:26:54Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f2f1250c47fd967b7678cad329438e8deac62038'/>
<id>urn:sha1:f2f1250c47fd967b7678cad329438e8deac62038</id>
<content type='text'>
It is a lot more convenient to use than having to specify the
configuration in CMake manually (does not matter whether using the
command-line or CMake's GUI).

While at it, recommend using `contrib/buildsystems/out/` as build
directory also in the part that talks about running CMake manually.

Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake (Windows): initialize vcpkg/build dependencies automatically</title>
<updated>2020-09-30T20:26:36Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b490283d5200952b87f49ac43457da7a332b4598'/>
<id>urn:sha1:b490283d5200952b87f49ac43457da7a332b4598</id>
<content type='text'>
The idea of having CMake support in Git's source tree is to enable
contributors on Windows to start contributing with little effort. To
that end, we just added some sensible defaults that will let users open
the worktree in Visual Studio and start building.

This expects the dependencies (such as zlib) to be available already,
though. If they are not available, we expect the user to run
`compat/vcbuild/vcpkg_install.bat`.

Rather than requiring this step to be manual, detect the situation and
run it as part of the CMake configuration step.

Note that this obviously only applies to the scenario when we want to
compile in Visual Studio (i.e. with MS Visual C), not with GCC.
Therefore, we guard this new code block behind the `MSVC` conditional.

This concludes our journey to make it as effortless as possible to start
developing Git in Visual Studio: all the developer needs to do is to
clone Git's repository, open the worktree via `File&gt;Open&gt;Folder...` and
wait for CMake to finish configuring.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake (Windows): complain when encountering an unknown compiler</title>
<updated>2020-09-30T20:25:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2d9eb4ed2cd8a0105c65167fdc9ddb0ddcde42c5'/>
<id>urn:sha1:2d9eb4ed2cd8a0105c65167fdc9ddb0ddcde42c5</id>
<content type='text'>
We have some custom handling regarding the link options, which are
specific to each compiler.

Therefore: let's not just continue without setting the link options if
configuring for a currently unhandled compiler, but error out.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake (Windows): let the `.dll` files be found when running the tests</title>
<updated>2020-09-30T20:25:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8c35e82898f6418bb010c2f3bb5025b52023ba91'/>
<id>urn:sha1:8c35e82898f6418bb010c2f3bb5025b52023ba91</id>
<content type='text'>
Contrary to Unix-ish platforms, the dependencies' shared libraries are
not usually found in one central place. In our case, since we use
`vcpkg`, they are to be found inside the `compat/vcbuild/vcpkg/` tree.

Let's make sure that they are in the search path when running the tests.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake: quote the path accurately when editing `test-lib.sh`</title>
<updated>2020-09-30T20:25:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1bd7379570d74f5ea70ef8bb89fa82d9a219c8e'/>
<id>urn:sha1:f1bd7379570d74f5ea70ef8bb89fa82d9a219c8e</id>
<content type='text'>
By default, the build directory will be called something like
`contrib/buildsystems/out/build/x64-Debug (default)` (note the space and
the parentheses). We need to make sure that such a path is quoted
properly when editing the assignment of the `GIT_BUILD_DIR` variable.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake: fall back to using `vcpkg`'s `msgfmt.exe` on Windows</title>
<updated>2020-09-30T20:25:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-30T15:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8f4513872517b72fb49d914ee9af8d44c836fc5a'/>
<id>urn:sha1:8f4513872517b72fb49d914ee9af8d44c836fc5a</id>
<content type='text'>
We are already relying on `vcpkg` to manage our dependencies, including
`libiconv`. Let's also use the `msgfmt.exe` from there.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake: ensure that the `vcpkg` packages are found on Windows</title>
<updated>2020-09-28T22:11:39Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-09-28T21:09:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e18ae4e7a6cd687ba9dac8be1e88a3d99f676fd5'/>
<id>urn:sha1:e18ae4e7a6cd687ba9dac8be1e88a3d99f676fd5</id>
<content type='text'>
On Windows, we use the `vcpkg` project to manage the dependencies, via
`compat/vcbuild/`. Let's make sure that these dependencies are found by
default.

This is needed because we are about to recommend loading the Git
worktree as a folder into Visual Studio, relying on the automatic CMake
support (which would make it relatively cumbersome to adjust the search
path used by CMake manually).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
