<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v2.14.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.14.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.14.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-09-10T08:02:54Z</updated>
<entry>
<title>Merge branch 'rs/win32-syslog-leakfix' into maint</title>
<updated>2017-09-10T08:02:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-09-10T08:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fbded00b0df5ba7663bddc8e5842a3a118a3c0b3'/>
<id>urn:sha1:fbded00b0df5ba7663bddc8e5842a3a118a3c0b3</id>
<content type='text'>
Memory leak in an error codepath has been plugged.

* rs/win32-syslog-leakfix:
  win32: plug memory leak on realloc() failure in syslog()
</content>
</entry>
<entry>
<title>Merge branch 'rs/bswap-ubsan-fix' into maint</title>
<updated>2017-08-23T21:33:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-23T21:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=752732c6d802ebc01a26e59614da38f900e3b89e'/>
<id>urn:sha1:752732c6d802ebc01a26e59614da38f900e3b89e</id>
<content type='text'>
Code clean-up.

* rs/bswap-ubsan-fix:
  bswap: convert get_be16, get_be32 and put_be32 to inline functions
  bswap: convert to unsigned before shifting in get_be32
</content>
</entry>
<entry>
<title>win32: plug memory leak on realloc() failure in syslog()</title>
<updated>2017-08-10T20:57:52Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-08-10T10:23:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=149d8cbb2ebdf3cdc3e40abff9ff7eb8c647715a'/>
<id>urn:sha1:149d8cbb2ebdf3cdc3e40abff9ff7eb8c647715a</id>
<content type='text'>
If realloc() fails then the original buffer is still valid.  Free it
before exiting the function.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tb/push-to-cygwin-unc-path'</title>
<updated>2017-07-18T19:48:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-18T19:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=33400c0e96460f36708789a6a3c8eeb7cbc8f0cc'/>
<id>urn:sha1:33400c0e96460f36708789a6a3c8eeb7cbc8f0cc</id>
<content type='text'>
On Cygwin, similar to Windows, "git push //server/share/repository"
ought to mean a repository on a network share that can be accessed
locally, but this did not work correctly due to stripping the double
slashes at the beginning.

This may need to be heavily tested before it gets unleashed to the
wild, as the change is at a fairly low-level code and would affect
not just the code to decide if the push destination is local.  There
may be unexpected fallouts in the path normalization.

* tb/push-to-cygwin-unc-path:
  cygwin: allow pushing to UNC paths
</content>
</entry>
<entry>
<title>bswap: convert get_be16, get_be32 and put_be32 to inline functions</title>
<updated>2017-07-17T21:54:15Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-07-15T19:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b114f3bb0820c1f57fb4a9cd14b62b55aa30d31'/>
<id>urn:sha1:5b114f3bb0820c1f57fb4a9cd14b62b55aa30d31</id>
<content type='text'>
Simplify the implementation and allow callers to use expressions with
side-effects by turning the macros get_be16, get_be32 and put_be32 into
inline functions.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bswap: convert to unsigned before shifting in get_be32</title>
<updated>2017-07-17T21:54:13Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-07-15T19:11:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7780af1e8edf158f503794dbdb87787999daa086'/>
<id>urn:sha1:7780af1e8edf158f503794dbdb87787999daa086</id>
<content type='text'>
The pointer p is dereferenced and we get an unsigned char.  Before
shifting it's automatically promoted to int.  Left-shifting a signed
32-bit value bigger than 127 by 24 places is undefined.  Explicitly
convert to a 32-bit unsigned type to avoid undefined behaviour if
the highest bit is set.

Found with Clang's UBSan.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cygwin: allow pushing to UNC paths</title>
<updated>2017-07-05T21:01:03Z</updated>
<author>
<name>Torsten Bögershausen</name>
<email>tboegi@web.de</email>
</author>
<published>2017-07-03T14:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=496f2569892273a142889193350ceb95b6019011'/>
<id>urn:sha1:496f2569892273a142889193350ceb95b6019011</id>
<content type='text'>
 cygwin can use an UNC path like //server/share/repo

 $ cd //server/share/dir
 $ mkdir test
 $ cd test
 $ git init --bare

 However, when we try to push from a local Git repository to this repo,
 there is a problem: Git converts the leading "//" into a single "/".

 As cygwin handles an UNC path so well, Git can support them better:

 - Introduce cygwin_offset_1st_component() which keeps the leading "//",
   similar to what Git for Windows does.

 - Move CYGWIN out of the POSIX in the tests for path normalization in t0060

Signed-off-by: Torsten Bögershausen &lt;tboegi@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2017-06-27T17:35:49Z</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-06-25T10:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=64127575149e35b409bc2f78962f86507346d604'/>
<id>urn:sha1:64127575149e35b409bc2f78962f86507346d604</id>
<content type='text'>
Signed-off-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bw/config-h'</title>
<updated>2017-06-24T21:28:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-24T21:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f31d23a399d557d687266b4375a0436f920cc051'/>
<id>urn:sha1:f31d23a399d557d687266b4375a0436f920cc051</id>
<content type='text'>
Fix configuration codepath to pay proper attention to commondir
that is used in multi-worktree situation, and isolate config API
into its own header file.

* bw/config-h:
  config: don't implicitly use gitdir or commondir
  config: respect commondir
  setup: teach discover_git_directory to respect the commondir
  config: don't include config.h by default
  config: remove git_config_iter
  config: create config.h
</content>
</entry>
<entry>
<title>config: don't include config.h by default</title>
<updated>2017-06-15T19:56:22Z</updated>
<author>
<name>Brandon Williams</name>
<email>bmwill@google.com</email>
</author>
<published>2017-06-14T18:07:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2141fc1d20e659810245ec6ca1c143c60e033ec'/>
<id>urn:sha1:b2141fc1d20e659810245ec6ca1c143c60e033ec</id>
<content type='text'>
Stop including config.h by default in cache.h.  Instead only include
config.h in those files which require use of the config system.

Signed-off-by: Brandon Williams &lt;bmwill@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
