<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Makefile, branch v2.20.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.20.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.20.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-11-19T07:24:41Z</updated>
<entry>
<title>Merge branch 'sb/cocci-pending'</title>
<updated>2018-11-19T07:24:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-19T07:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0722553177966441376d7cf3c7ed664e00f92d14'/>
<id>urn:sha1:0722553177966441376d7cf3c7ed664e00f92d14</id>
<content type='text'>
A coding convention around the Coccinelle semantic patches to have
two classes to ease code migration process has been proposed and
its support has been added to the Makefile.

* sb/cocci-pending:
  coccicheck: introduce 'pending' semantic patches
</content>
</entry>
<entry>
<title>Merge branch 'js/test-git-installed'</title>
<updated>2018-11-19T07:24:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-19T07:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2488849c7e76bed9069ba052a186b88214450cca'/>
<id>urn:sha1:2488849c7e76bed9069ba052a186b88214450cca</id>
<content type='text'>
Update the "test installed Git" mode of our test suite to work better.

* js/test-git-installed:
  tests: explicitly use `git.exe` on Windows
  tests: do not require Git to be built when testing an installed Git
  t/lib-gettext: test installed git-sh-i18n if GIT_TEST_INSTALLED is set
  tests: respect GIT_TEST_INSTALLED when initializing repositories
  tests: fix GIT_TEST_INSTALLED's PATH to include t/helper/
</content>
</entry>
<entry>
<title>Merge branch 'dd/poll-dot-h'</title>
<updated>2018-11-19T07:24:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-19T07:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c6e646235f5442bafcf303e3ed6a083efd3e0e0'/>
<id>urn:sha1:1c6e646235f5442bafcf303e3ed6a083efd3e0e0</id>
<content type='text'>
A build update.

* dd/poll-dot-h:
  git-compat-util: prefer poll.h to sys/poll.h
</content>
</entry>
<entry>
<title>Merge branch 'ab/dynamic-gettext-poison'</title>
<updated>2018-11-19T07:24:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-19T07:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=954932667dac15885165cdb579acbf6a774fe140'/>
<id>urn:sha1:954932667dac15885165cdb579acbf6a774fe140</id>
<content type='text'>
Our testing framework uses a special i18n "poisoned localization"
feature to find messages that ought to stay constant but are
incorrectly marked to be translated.  This feature has been made
into a runtime option (it used to be a compile-time option).

* ab/dynamic-gettext-poison:
  Makefile: ease dynamic-gettext-poison transition
  i18n: make GETTEXT_POISON a runtime option
</content>
</entry>
<entry>
<title>Merge branch 'js/fuzz-cxxflags'</title>
<updated>2018-11-18T09:23:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-18T09:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7b9bb3876d3be45c48b646043c384b64133f195a'/>
<id>urn:sha1:7b9bb3876d3be45c48b646043c384b64133f195a</id>
<content type='text'>
The build procedure to link for fuzzing test has been made
customizable with a new Makefile variable.

* js/fuzz-cxxflags:
  Makefile: use FUZZ_CXXFLAGS for linking fuzzers
</content>
</entry>
<entry>
<title>Merge branch 'js/mingw-res-rebuild'</title>
<updated>2018-11-18T09:23:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-18T09:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39847644adb3678da91048b2ac6ebc2b3c475f3a'/>
<id>urn:sha1:39847644adb3678da91048b2ac6ebc2b3c475f3a</id>
<content type='text'>
Windows build update.

* js/mingw-res-rebuild:
  Windows: force-recompile git.res for differing architectures
</content>
</entry>
<entry>
<title>Merge branch 'jk/curl-ldflags'</title>
<updated>2018-11-18T09:23:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-18T09:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa2f2f085ed8999b799d48e652f9e438571e8491'/>
<id>urn:sha1:fa2f2f085ed8999b799d48e652f9e438571e8491</id>
<content type='text'>
The way -lcurl library gets linked has been simplified by taking
advantage of the fact that we can just ask curl-config command how.

* jk/curl-ldflags:
  build: link with curl-defined linker flags
</content>
</entry>
<entry>
<title>Merge branch 'nd/pthreads'</title>
<updated>2018-11-18T09:23:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-11-18T09:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=26b80a841ad6f2ddff855aa9bd0000a4ba81f6ff'/>
<id>urn:sha1:26b80a841ad6f2ddff855aa9bd0000a4ba81f6ff</id>
<content type='text'>
The codebase has been cleaned up to reduce "#ifndef NO_PTHREADS".

* nd/pthreads:
  Clean up pthread_create() error handling
  read-cache.c: initialize copy_len to shut up gcc 8
  read-cache.c: reduce branching based on HAVE_THREADS
  read-cache.c: remove #ifdef NO_PTHREADS
  pack-objects: remove #ifdef NO_PTHREADS
  preload-index.c: remove #ifdef NO_PTHREADS
  grep: clean up num_threads handling
  grep: remove #ifdef NO_PTHREADS
  attr.c: remove #ifdef NO_PTHREADS
  name-hash.c: remove #ifdef NO_PTHREADS
  index-pack: remove #ifdef NO_PTHREADS
  send-pack.c: move async's #ifdef NO_PTHREADS back to run-command.c
  run-command.h: include thread-utils.h instead of pthread.h
  thread-utils: macros to unconditionally compile pthreads API
</content>
</entry>
<entry>
<title>Makefile: use FUZZ_CXXFLAGS for linking fuzzers</title>
<updated>2018-11-16T05:25:06Z</updated>
<author>
<name>Josh Steadmon</name>
<email>steadmon@google.com</email>
</author>
<published>2018-11-14T19:41:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=927c77e7d4d1e42c1e523d4651a7fe2c9122fe32'/>
<id>urn:sha1:927c77e7d4d1e42c1e523d4651a7fe2c9122fe32</id>
<content type='text'>
OSS-Fuzz requires C++-specific flags to link fuzzers. Passing these in
CFLAGS causes lots of build warnings. Using separate FUZZ_CXXFLAGS
avoids this.

Signed-off-by: Josh Steadmon &lt;steadmon@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>tests: explicitly use `git.exe` on Windows</title>
<updated>2018-11-16T05:18:00Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2018-11-14T16:32:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8abfdf44c882ad5d31bd8d0a0f1bfb67f8a9e39f'/>
<id>urn:sha1:8abfdf44c882ad5d31bd8d0a0f1bfb67f8a9e39f</id>
<content type='text'>
On Windows, when we refer to `/an/absolute/path/to/git`, it magically
resolves `git.exe` at that location. Except if something of the name
`git` exists next to that `git.exe`. So if we call `$BUILD_DIR/git`, it
will find `$BUILD_DIR/git.exe` *only* if there is not, say, a directory
called `$BUILD_DIR/git`.

Such a directory, however, exists in Git for Windows when building with
Visual Studio (our Visual Studio project generator defaults to putting
the build files into a directory whose name is the base name of the
corresponding `.exe`).

In the bin-wrappers/* scripts, we already take pains to use `git.exe`
rather than `git`, as this could pick up the wrong thing on Windows
(i.e. if there exists a `git` file or directory in the build directory).

Now we do the same in the tests' start-up code.

This also helps when testing an installed Git, as there might be even
more likely some stray file or directory in the way.

Note: the only way we can record whether the `.exe` suffix is by writing
it to the `GIT-BUILD-OPTIONS` file and sourcing it at the beginning of
`t/test-lib.sh`. This is not a requirement introduced by this patch, but
we move the call to be able to use the `$X` variable that holds the file
extension, if any.

Note also: the many, many calls to `git this` and `git that` are
unaffected, as the regular PATH search will find the `.exe` files on
Windows (and not be confused by a directory of the name `git` that is
in one of the directories listed in the `PATH` variable), while
`/path/to/git` would not, per se, know that it is looking for an
executable and happily prefer such a directory.

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>
