<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v1.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-07-05T19:16:26Z</updated>
<entry>
<title>MinGW: truncate exit()'s argument to lowest 8 bits</title>
<updated>2009-07-05T19:16:26Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-07-05T18:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47e3de0e7968a4176e2c54a36b214d3e7b24ad15'/>
<id>urn:sha1:47e3de0e7968a4176e2c54a36b214d3e7b24ad15</id>
<content type='text'>
For some reason, MinGW's bash cannot reliably detect failure of the child
process if a negative value is passed to exit(). This fixes it by
truncating the exit code in all calls of exit().

This issue was worked around in run_builtin() of git.c (2488df84 builtin
run_command: do not exit with -1, 2007-11-15). This workaround is no longer
necessary and is reverted.

Suggested-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sp/msysgit'</title>
<updated>2009-06-13T19:50:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-06-13T19:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95ad2a65fbb9b7f26669fed9906fe9a1a531810b'/>
<id>urn:sha1:95ad2a65fbb9b7f26669fed9906fe9a1a531810b</id>
<content type='text'>
* sp/msysgit:
  compat/ has subdirectories: do not omit them in 'make clean'
  Fix typo in nedmalloc warning fix
  MinGW: Teach Makefile to detect msysgit and apply specific settings
  Fix warnings in nedmalloc when compiling with GCC 4.4.0
  Add custom memory allocator to MinGW and MacOS builds
  MinGW readdir reimplementation to support d_type
  connect.c: Support PuTTY plink and TortoisePlink as SSH on Windows
  git: browsing paths with spaces when using the start command
  MinGW: fix warning about implicit declaration of _getch()
  test-chmtime: work around Windows limitation
  Work around a regression in Windows 7, causing erase_in_line() to crash sometimes
  Quiet make: do not leave Windows behind
  MinGW: GCC &gt;= 4 does not need SNPRINTF_SIZE_CORR anymore

Conflicts:
	Makefile
</content>
</entry>
<entry>
<title>Fix typo in nedmalloc warning fix</title>
<updated>2009-06-11T21:18:52Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-06-11T20:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2ae8239d03c54a3db264be0b8b197b1abd2bde4c'/>
<id>urn:sha1:2ae8239d03c54a3db264be0b8b197b1abd2bde4c</id>
<content type='text'>
Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix warnings in nedmalloc when compiling with GCC 4.4.0</title>
<updated>2009-06-08T16:43:37Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-06-08T14:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a21077e75f55b4696ada33d7d09f016f4ef16167'/>
<id>urn:sha1:a21077e75f55b4696ada33d7d09f016f4ef16167</id>
<content type='text'>
Nedmalloc's source code has a cute #define construct to avoid inserting
an if() statement, because that might interact badly with enclosing if()
statements.  However, GCC &gt; 4 complains with a "warning: value computed
is not used".  So we cast the result to "void".

GCC also does not understand the Visual C++ specific pragmas, so we need
to disable them for MinGW.

We need to include malloc.h on Windows even if we happen to compile the
stuff as a MinGW program.  Otherwise the function declaration of alloca()
is missing.

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>Add custom memory allocator to MinGW and MacOS builds</title>
<updated>2009-06-01T07:27:39Z</updated>
<author>
<name>Marius Storm-Olsen</name>
<email>marius@trolltech.com</email>
</author>
<published>2009-05-31T16:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f0ed8226c9c65f2a324610258418258229e77fbe'/>
<id>urn:sha1:f0ed8226c9c65f2a324610258418258229e77fbe</id>
<content type='text'>
The standard allocator on Windows is pretty bad prior
to Windows Vista, and nedmalloc is better than the
modified dlmalloc provided with newer versions of the
MinGW libc.

NedMalloc stats in Git
----------------------
  All results are the best result out of 3 runs. The
  benchmarks have been done on different hardware, so
  the repack times are not comparable.

  These benchmarks are all based on 'git repack -adf'
  on the Linux kernel.

  XP
  -----------------------------------------------
  MinGW               Threads  Total Time   Speed
  -----------------------------------------------
  3.4.2                  (1T)  00:12:28.422
  3.4.2     + nedmalloc  (1T)  00:07:25.437 1.68x

  3.4.5                  (1T)  00:12:20.718
  3.4.5     + nedmalloc  (1T)  00:07:24.809 1.67x

  4.3.3-tdm              (1T)  00:12:01.843
  4.3.3-tdm + nedmalloc  (1T)  00:07:16.468 1.65x

  4.3.3-tdm              (2T)  00:07:35.062
  4.3.3-tdm + nedmalloc  (2T)  00:04:57.874 1.54x

  Vista
  -----------------------------------------------
  MinGW               Threads  Total Time   Speed
  -----------------------------------------------
  4.3.3-tdm              (1T)  00:07:40.844
  4.3.3-tdm + nedmalloc  (1T)  00:07:17.548 1.05x

  4.3.3-tdm              (2T)  00:05:33.746
  4.3.3-tdm + nedmalloc  (2T)  00:05:27.334 1.02x

  Mac Mini
  -----------------------------------------------
  GCC                 Threads  Total Time   Speed
  -----------------------------------------------
  i686-darwin9-4.0.1     (2T)  00:09:57.346
  i686-darwin9-4.0.1+ned (2T)  00:08:51.072 1.12x

Signed-off-by: Marius Storm-Olsen &lt;marius@trolltech.com&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MinGW readdir reimplementation to support d_type</title>
<updated>2009-06-01T07:25:54Z</updated>
<author>
<name>Marius Storm-Olsen</name>
<email>marius@trolltech.com</email>
</author>
<published>2009-05-31T16:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e16c60d9f98c66fd2c9bba64562b3439970c13f8'/>
<id>urn:sha1:e16c60d9f98c66fd2c9bba64562b3439970c13f8</id>
<content type='text'>
The original readdir implementation was fast, but didn't
support the d_type. This means that git would do additional
lstats for each entry, to figure out if the entry was a
directory or not. This unneedingly slowed down many
operations, since Windows API provides this information
directly when walking the directories.

By running this implementation on Moe's repo structure:
  mkdir bummer &amp;&amp; cd bummer; for ((i=0;i&lt;100;i++)); do
    mkdir $i &amp;&amp; pushd $i;
      for ((j=0;j&lt;1000;j++)); do echo "$j" &gt;$j; done;
    popd;
  done

We see the following speedups:
  git add .
  -------------------
  old: 00:00:23(.087)
  new: 00:00:21(.512) 1.07x

  git status
  -------------------
  old: 00:00:03(.306)
  new: 00:00:01(.684) 1.96x

  git clean -dxf
  -------------------
  old: 00:00:01(.918)
  new: 00:00:00(.295) 6.50x

Signed-off-by: Marius Storm-Olsen &lt;marius@trolltech.com&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MinGW: fix warning about implicit declaration of _getch()</title>
<updated>2009-06-01T07:20:57Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-06-01T06:41:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28a559c0b5aa5bd0d318e06295719b9e677d5035'/>
<id>urn:sha1:28a559c0b5aa5bd0d318e06295719b9e677d5035</id>
<content type='text'>
conio.h provides the declaration.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Work around a regression in Windows 7, causing erase_in_line() to crash sometimes</title>
<updated>2009-06-01T07:08:54Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-06-01T06:04:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=492f70913e11de19bc4cb197b1fe195c645b89c9'/>
<id>urn:sha1:492f70913e11de19bc4cb197b1fe195c645b89c9</id>
<content type='text'>
The function FillConsoleOutputCharacterA() was pretty content in XP to take a NULL
pointer if we did not want to store the number of written columns.  In Windows 7,
it crashes, but only when called from within Git Bash, not from within cmd.exe.
Go figure.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MinGW: GCC &gt;= 4 does not need SNPRINTF_SIZE_CORR anymore</title>
<updated>2009-06-01T07:07:21Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-05-31T16:15:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f90cf2b9203e81e3a2b70b15480628e9189b7e60'/>
<id>urn:sha1:f90cf2b9203e81e3a2b70b15480628e9189b7e60</id>
<content type='text'>
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>compat: add a basename() compatibility function</title>
<updated>2009-06-01T00:57:59Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2009-05-31T08:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1c068869216c8c231c1585bbfa9fda42b4756f8'/>
<id>urn:sha1:e1c068869216c8c231c1585bbfa9fda42b4756f8</id>
<content type='text'>
Some systems such as Windows lack libgen.h so provide a
basename() implementation for cross-platform use.

This introduces the NO_LIBGEN_H construct to the Makefile
and autoconf scripts.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
