<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-05-01T22:17:31Z</updated>
<entry>
<title>Fix a bunch of pointer declarations (codestyle)</title>
<updated>2009-05-01T22:17:31Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2009-05-01T09:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b25d091ba53c758fae0096b8c0662371857b9d9'/>
<id>urn:sha1:4b25d091ba53c758fae0096b8c0662371857b9d9</id>
<content type='text'>
Essentially; s/type* /type */ as per the coding guidelines.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix more typos/spelling in comments</title>
<updated>2009-04-23T02:03:39Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2009-04-22T21:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b18cc5a3b2f64364d2c7d3560066852728a6c666'/>
<id>urn:sha1:b18cc5a3b2f64364d2c7d3560066852728a6c666</id>
<content type='text'>
A few more fixes on top of the automatic spell checker generated ones.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix typos / spelling in comments</title>
<updated>2009-04-23T02:02:12Z</updated>
<author>
<name>Mike Ralphson</name>
<email>mike@abacus.co.uk</email>
</author>
<published>2009-04-17T18:13:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ea3c215c02dc4a4e7d0881c25b2223540960797'/>
<id>urn:sha1:3ea3c215c02dc4a4e7d0881c25b2223540960797</id>
<content type='text'>
Signed-off-by: Mike Ralphson &lt;mike@abacus.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Windows: Work around intermittent failures in mingw_rename</title>
<updated>2009-04-20T10:42:53Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-04-03T06:49:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6ac6f87818edfd33fea8ce3c95b47fe00a4e4b91'/>
<id>urn:sha1:6ac6f87818edfd33fea8ce3c95b47fe00a4e4b91</id>
<content type='text'>
We have replaced rename() with a version that can rename a file to a
destination that already exists. Nevertheless, many users, the author
included, observe failures in the code that are not reproducible.

The theory is that the failures are due to some other process that happens
to have opened the destination file briefly at the wrong moment. (And there
is no way on Windows to delete or replace a file that is currently open.)
The most likely candidate for such a process is a virus scanner. The
failure is more often observed while there is heavy git activity (for
example while the test suite is running or during a rebase operation).

We work around the failure by retrying the rename operation if it failed
due to ERROR_ACCESS_DENIED. The retries are delayed a bit: The first only
by giving up the time slice, the next after the minimal scheduling
granularity, and if more retries are needed, then we wait some non-trivial
amount of time with exponential back-off.

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>MinGW: Quote arguments for subprocesses that contain a single-quote</title>
<updated>2009-03-24T21:42:59Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-03-24T20:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3aea1a5a899f5ff34f12d0cd6d8e903ddcfeef3a'/>
<id>urn:sha1:3aea1a5a899f5ff34f12d0cd6d8e903ddcfeef3a</id>
<content type='text'>
Before a process can be spawned by mingw_spawnve, arguments must be
surrounded by double-quotes if special characters are present.  This is
necessary because the startup code of the spawned process will expand
arguments that look like glob patterns.  "Normal" Windows command line
utilities expand only * and ?, but MSYS programs, including bash, are
different: They also expand braces, and this has already been taken care
of by compat/mingw.c:quote_arg().

But MSYS programs also treat single-quotes in a special way: Arguments
between single-quotes are spliced together (with spaces) into a word.
With this patch this treatment is avoided by quoting arguments that contain
single-quotes.

This lets t4252 pass on Windows.

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>MinGW: implement mmap</title>
<updated>2009-03-19T02:23:04Z</updated>
<author>
<name>Janos Laube</name>
<email>janos.dev@gmail.com</email>
</author>
<published>2009-03-13T15:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b130a72b274441bb5d687de93efef4d990c40c0a'/>
<id>urn:sha1:b130a72b274441bb5d687de93efef4d990c40c0a</id>
<content type='text'>
Add USE_WIN32_MMAP which triggers the use of windows' native
file memory mapping functionality in git_mmap()/git_munmap() functions.

As git functions currently use mmap with MAP_PRIVATE set only, this
implementation supports only that mode for now.

On Windows, offsets for memory mapped files need to match the allocation
granularity. Take this into account when calculating the packed git-
windowsize and file offsets. At the moment, the only function which makes
use of offsets in conjunction with mmap is use_pack() in sha1-file.c.

Git fast-import's code path tries to map a portion of the temporary
packfile that exceeds the current filesize, i.e. offset+length is
greater than the filesize. The NO_MMAP code worked with that since pread()
just reads the file content until EOF and returns gracefully, while
MapViewOfFile() aborts the mapping and returns 'Access Denied'.
Working around that by determining the filesize and adjusting the length
parameter.

Signed-off-by: Janos Laube &lt;janos.dev@gmail.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 'js/sideband-stderr'</title>
<updated>2009-03-18T01:58:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-18T01:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e5660a7ab20275d80262d0a21bc6c52eead9cd7'/>
<id>urn:sha1:6e5660a7ab20275d80262d0a21bc6c52eead9cd7</id>
<content type='text'>
* js/sideband-stderr:
  winansi: support ESC [ K (erase in line)
  recv_sideband: Bands #2 and #3 always go to stderr
</content>
</entry>
<entry>
<title>MinGW: a hardlink implementation</title>
<updated>2009-03-17T16:21:32Z</updated>
<author>
<name>Petr Kodl</name>
<email>petrkodl@gmail.com</email>
</author>
<published>2009-01-24T14:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7be401e069758cc36d335241d9b80f9aeebf58c7'/>
<id>urn:sha1:7be401e069758cc36d335241d9b80f9aeebf58c7</id>
<content type='text'>
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&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>MinGW: a helper function that translates Win32 API error codes</title>
<updated>2009-03-17T16:21:27Z</updated>
<author>
<name>Petr Kodl</name>
<email>petrkodl@gmail.com</email>
</author>
<published>2009-01-24T14:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3debd2b0c091990c420f78e074c0c160498e51d'/>
<id>urn:sha1:b3debd2b0c091990c420f78e074c0c160498e51d</id>
<content type='text'>
This function translates many possible Win32 error codes to suitable
errno numbers.  We will use it in our wrapper functions that need to call
into Win32.

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 'rs/memmem'</title>
<updated>2009-03-11T20:49:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-11T20:49:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8f4cc7911955a3642af601394a4b4473e7bfde33'/>
<id>urn:sha1:8f4cc7911955a3642af601394a4b4473e7bfde33</id>
<content type='text'>
* rs/memmem:
  optimize compat/ memmem()
  diffcore-pickaxe: use memmem()
</content>
</entry>
</feed>
