<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-compat-util.h, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-06-25T18:49:48Z</updated>
<entry>
<title>Merge branch 'ym/fix-opportunistic-index-update-race' into maint</title>
<updated>2014-06-25T18:49:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-25T18:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1881d2b88c4b889dcb95782ad4bc5395808438e9'/>
<id>urn:sha1:1881d2b88c4b889dcb95782ad4bc5395808438e9</id>
<content type='text'>
"git status", even though it is a read-only operation, tries to
update the index with refreshed lstat(2) info to optimize future
accesses to the working tree opportunistically, but this could
race with a "read-write" operation that modify the index while it
is running.  Detect such a race and avoid overwriting the index.

* ym/fix-opportunistic-index-update-race:
  read-cache.c: verify index file before we opportunistically update it
  wrapper.c: add xpread() similar to xread()
</content>
</entry>
<entry>
<title>wrapper.c: add xpread() similar to xread()</title>
<updated>2014-04-10T19:18:55Z</updated>
<author>
<name>Yiannis Marangos</name>
<email>yiannis.marangos@gmail.com</email>
</author>
<published>2014-04-10T18:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9aa91af0361e3c32fde5f8388dee963838308cd6'/>
<id>urn:sha1:9aa91af0361e3c32fde5f8388dee963838308cd6</id>
<content type='text'>
It is a common mistake to call read(2)/pread(2) and forget to
anticipate that they may return error with EAGAIN/EINTR when the
system call is interrupted.

We have xread() helper to relieve callers of read(2) from having to
worry about it; add xpread() helper to do the same for pread(2).

Update the caller in the builtin/index-pack.c and the mmap emulation
in compat/.

Signed-off-by: Yiannis Marangos &lt;yiannis.marangos@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/commit-dates-parsing-fix'</title>
<updated>2014-04-08T18:59:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T18:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bdb830c44567ebbdec497e6af21b87d4e43539cc'/>
<id>urn:sha1:bdb830c44567ebbdec497e6af21b87d4e43539cc</id>
<content type='text'>
Finishing touches for portability.

* jk/commit-dates-parsing-fix:
  t4212: loosen far-in-future test for AIX
  date: recognize bogus FreeBSD gmtime output
</content>
</entry>
<entry>
<title>Merge branch 'nd/gc-aggressive'</title>
<updated>2014-04-03T19:38:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-03T19:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8815d8aa7ccab3798fa5513821ab110c209b0ae7'/>
<id>urn:sha1:8815d8aa7ccab3798fa5513821ab110c209b0ae7</id>
<content type='text'>
Allow tweaking the maximum length of the delta-chain produced by
"gc --aggressive".

* nd/gc-aggressive:
  environment.c: fix constness for odb_pack_keep()
  gc --aggressive: make --depth configurable
</content>
</entry>
<entry>
<title>date: recognize bogus FreeBSD gmtime output</title>
<updated>2014-04-01T21:39:04Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-04-01T21:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6654754779d2a90af91a9c6b93d7e4e7ee16cfab'/>
<id>urn:sha1:6654754779d2a90af91a9c6b93d7e4e7ee16cfab</id>
<content type='text'>
Most gmtime implementations return a NULL value when they
encounter an error (and this behavior is specified by ANSI C
and POSIX).  FreeBSD's implementation, however, will simply
leave the "struct tm" untouched.  Let's also recognize this
and convert it to a NULL (with this patch, t4212 should pass
on FreeBSD).

Reported-by: René Scharfe &lt;l.s.r@web.de&gt;
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>environment.c: fix constness for odb_pack_keep()</title>
<updated>2014-03-31T17:31:43Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2014-03-16T13:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8640d496823b0aa1d35523b98d8b3f21b54004cd'/>
<id>urn:sha1:8640d496823b0aa1d35523b98d8b3f21b54004cd</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dk/skip-prefix-scan-only-once'</title>
<updated>2014-03-21T19:47:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-21T19:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1be645c0b1b2218d58fbae9dd6174ff2a9d66d57'/>
<id>urn:sha1:1be645c0b1b2218d58fbae9dd6174ff2a9d66d57</id>
<content type='text'>
Update implementation of skip_prefix() to scan only once; given
that most "prefix" arguments to the inline function are constant
strings whose strlen() can be determined at the compile time, this
might actually make things worse with a compiler with sufficient
intelligence.

* dk/skip-prefix-scan-only-once:
  skip_prefix(): scan prefix only once
</content>
</entry>
<entry>
<title>Merge branch 'nd/no-more-fnmatch'</title>
<updated>2014-03-14T21:25:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-14T21:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=650c90a18506ce05e2be349d83fe1cef3dc7f8cb'/>
<id>urn:sha1:650c90a18506ce05e2be349d83fe1cef3dc7f8cb</id>
<content type='text'>
We started using wildmatch() in place of fnmatch(3); complete the
process and stop using fnmatch(3).

* nd/no-more-fnmatch:
  actually remove compat fnmatch source code
  stop using fnmatch (either native or compat)
  Revert "test-wildmatch: add "perf" command to compare wildmatch and fnmatch"
  use wildmatch() directly without fnmatch() wrapper
</content>
</entry>
<entry>
<title>Merge branch 'cc/starts-n-ends-with-endgame'</title>
<updated>2014-03-07T23:18:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-07T23:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e3f118594683b075d70fb479a81613f614a7b1f1'/>
<id>urn:sha1:e3f118594683b075d70fb479a81613f614a7b1f1</id>
<content type='text'>
prefixcmp/suffixcmp are gone.
</content>
</entry>
<entry>
<title>skip_prefix(): scan prefix only once</title>
<updated>2014-03-03T23:38:14Z</updated>
<author>
<name>David Kastrup</name>
<email>dak@gnu.org</email>
</author>
<published>2014-03-03T23:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba399c46d9d3930871480ec24518b1541bfdbab3'/>
<id>urn:sha1:ba399c46d9d3930871480ec24518b1541bfdbab3</id>
<content type='text'>
Signed-off-by: David Kastrup &lt;dak@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
