<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-04-29T21:16:01Z</updated>
<entry>
<title>Merge branch 'js/mingw-tests-2.8' into maint</title>
<updated>2016-04-29T21:16:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-29T21:16:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0c1a8ec8da53c3d5c7ce1fae8599f18bce6a4b2d'/>
<id>urn:sha1:0c1a8ec8da53c3d5c7ce1fae8599f18bce6a4b2d</id>
<content type='text'>
Code clean-up.

* js/mingw-tests-2.8:
  Windows: shorten code by re-using convert_slashes()
</content>
</entry>
<entry>
<title>Windows: shorten code by re-using convert_slashes()</title>
<updated>2016-04-05T01:03:02Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2016-04-02T19:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e9b20804a9900d4560e9ace4bb8c5d048a2097e'/>
<id>urn:sha1:8e9b20804a9900d4560e9ace4bb8c5d048a2097e</id>
<content type='text'>
Make a few more spots more readable by using the recently introduced,
Windows-specific helper.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Acked-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MSVC: use shipped headers instead of fallback definitions</title>
<updated>2016-03-30T18:16:20Z</updated>
<author>
<name>Sven Strickroth</name>
<email>sven@cs-ware.de</email>
</author>
<published>2016-03-30T11:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0ef60afdd4416345b16b5c4d8d0558a08d680bc5'/>
<id>urn:sha1:0ef60afdd4416345b16b5c4d8d0558a08d680bc5</id>
<content type='text'>
VS2010 comes with stdint.h [1]
VS2013 comes with inttypes.h [2]

[1] https://stackoverflow.com/a/2628014/3906760
[2] https://blogs.msdn.microsoft.com/vcblog/2013/07/19/c99-library-support-in-visual-studio-2013/

Signed-off-by: Sven Strickroth &lt;sven@cs-ware.de&gt;
Acked-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Acked-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MSVC: vsnprintf in Visual Studio 2015 doesn't need SNPRINTF_SIZE_CORR any more</title>
<updated>2016-03-30T18:13:01Z</updated>
<author>
<name>Sven Strickroth</name>
<email>sven@cs-ware.de</email>
</author>
<published>2016-03-29T16:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dae26d30f4dfff352fb401e5a24c2df1a0a339f0'/>
<id>urn:sha1:dae26d30f4dfff352fb401e5a24c2df1a0a339f0</id>
<content type='text'>
In MSVC2015 the behavior of vsnprintf was changed.
W/o this fix there is one character missing at the end.

Signed-off-by: Sven Strickroth &lt;sven@cs-ware.de&gt;
Acked-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Acked-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>config --show-origin: report paths with forward slashes</title>
<updated>2016-03-23T16:58:48Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-03-23T10:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ca6b7bb47bddacac61e837d7692e1e8f5b24188'/>
<id>urn:sha1:5ca6b7bb47bddacac61e837d7692e1e8f5b24188</id>
<content type='text'>
On Windows, the backslash is the native directory separator, but all
supported Windows versions also accept the forward slash in most
circumstances.

Our tests expect forward slashes.

Relative paths are generated by Git using forward slashes.

So let's try to be consistent and use forward slashes in the $HOME part
of the paths reported by `git config --show-origin`, too.

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>Merge branch 'js/pthread-exit-emu-windows'</title>
<updated>2016-03-04T21:46:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-03-04T21:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3978cd06ffcb62ed94e3b3efcc086f8ed623680f'/>
<id>urn:sha1:3978cd06ffcb62ed94e3b3efcc086f8ed623680f</id>
<content type='text'>
* js/pthread-exit-emu-windows:
  Mark win32's pthread_exit() as NORETURN
</content>
</entry>
<entry>
<title>Merge branch 'jk/tighten-alloc'</title>
<updated>2016-03-04T21:46:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-03-04T21:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6dd0a37c34e79e38aa611fce10dd5609ccc7c39a'/>
<id>urn:sha1:6dd0a37c34e79e38aa611fce10dd5609ccc7c39a</id>
<content type='text'>
* jk/tighten-alloc:
  compat/mingw: brown paper bag fix for 50a6c8e
</content>
</entry>
<entry>
<title>Mark win32's pthread_exit() as NORETURN</title>
<updated>2016-03-02T20:33:43Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-03-02T19:11:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=296d6737331f6287f6be60f6230b51760ed11f98'/>
<id>urn:sha1:296d6737331f6287f6be60f6230b51760ed11f98</id>
<content type='text'>
The pthread_exit() function is not expected to return. Ever. On Windows,
we call ExitThread() whose documentation claims: "Ends the calling
thread", i.e. there is no condition in which this function simply
returns: https://msdn.microsoft.com/en-us/library/windows/desktop/ms682659

While at it, fix the return type to be void, as per
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_exit.html

Pointed out by Jeff King, helped by Stefan Naewe, Junio Hamano &amp;
Johannes Sixt.

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>compat/mingw: brown paper bag fix for 50a6c8e</title>
<updated>2016-02-29T19:04:23Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-02-29T10:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d5b3325e72444d365ded113487d2345c365f6d3'/>
<id>urn:sha1:8d5b3325e72444d365ded113487d2345c365f6d3</id>
<content type='text'>
Commit 50a6c8e (use st_add and st_mult for allocation size
computation, 2016-02-22) fixed up many xmalloc call-sites
including ones in compat/mingw.c.

But I screwed up one of them, which was half-converted to
ALLOC_ARRAY, using a very early prototype of the function.
And I never caught it because I don't build on Windows.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/config-error'</title>
<updated>2016-02-26T21:37:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-26T21:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=225caa73f25f8577a710f406b2670c3bcf0aef34'/>
<id>urn:sha1:225caa73f25f8577a710f406b2670c3bcf0aef34</id>
<content type='text'>
Many codepaths forget to check return value from git_config_set();
the function is made to die() to make sure we do not proceed when
setting a configuration variable failed.

* ps/config-error:
  config: rename git_config_set_or_die to git_config_set
  config: rename git_config_set to git_config_set_gently
  compat: die when unable to set core.precomposeunicode
  sequencer: die on config error when saving replay opts
  init-db: die on config errors when initializing empty repo
  clone: die on config error in cmd_clone
  remote: die on config error when manipulating remotes
  remote: die on config error when setting/adding branches
  remote: die on config error when setting URL
  submodule--helper: die on config error when cloning module
  submodule: die on config error when linking modules
  branch: die on config error when editing branch description
  branch: die on config error when unsetting upstream
  branch: report errors in tracking branch setup
  config: introduce set_or_die wrappers
</content>
</entry>
</feed>
