<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/combine-diff.c, 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>Merge branch 'maint'</title>
<updated>2009-04-29T23:50:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-29T23:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d1c8c0c8c42912eb768a05115c798de50e595f8b'/>
<id>urn:sha1:d1c8c0c8c42912eb768a05115c798de50e595f8b</id>
<content type='text'>
* maint:
  diff -c -p: do not die on submodules

Conflicts:
	combine-diff.c
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.0' into maint-1.6.1</title>
<updated>2009-04-29T20:43:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-29T20:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=934747323c397ffe64b6dcdf2bf73128d8e36968'/>
<id>urn:sha1:934747323c397ffe64b6dcdf2bf73128d8e36968</id>
<content type='text'>
* maint-1.6.0:
  diff -c -p: do not die on submodules
</content>
</entry>
<entry>
<title>diff -c -p: do not die on submodules</title>
<updated>2009-04-29T19:49:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-29T19:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7dae8b21c2fe39a59661c709f0dc17090dafa5a4'/>
<id>urn:sha1:7dae8b21c2fe39a59661c709f0dc17090dafa5a4</id>
<content type='text'>
The combine diff logic knew only about blobs (and their checked-out form
in the work tree, either regular files or symlinks), and barfed when fed
submodules.  This "externalizes" gitlinks in the same way as the normal
patch generation codepath does (i.e. "Subproject commit Xxx\n") to fix the
issue.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kb/checkout-optim'</title>
<updated>2009-03-18T01:54:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-03-18T01:54:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a9bfe813094cf2c8ea0e30c3196070c868fb294c'/>
<id>urn:sha1:a9bfe813094cf2c8ea0e30c3196070c868fb294c</id>
<content type='text'>
* kb/checkout-optim:
  Revert "lstat_cache(): print a warning if doing ping-pong between cache types"
  checkout bugfix: use stat.mtime instead of stat.ctime in two places
  Makefile: Set compiler switch for USE_NSEC
  Create USE_ST_TIMESPEC and turn it on for Darwin
  Not all systems use st_[cm]tim field for ns resolution file timestamp
  Record ns-timestamps if possible, but do not use it without USE_NSEC
  write_index(): update index_state-&gt;timestamp after flushing to disk
  verify_uptodate(): add ce_uptodate(ce) test
  make USE_NSEC work as expected
  fix compile error when USE_NSEC is defined
  check_updates(): effective removal of cache entries marked CE_REMOVE
  lstat_cache(): print a warning if doing ping-pong between cache types
  show_patch_diff(): remove a call to fstat()
  write_entry(): use fstat() instead of lstat() when file is open
  write_entry(): cleanup of some duplicated code
  create_directories(): remove some memcpy() and strchr() calls
  unlink_entry(): introduce schedule_dir_for_removal()
  lstat_cache(): swap func(length, string) into func(string, length)
  lstat_cache(): generalise longest_match_lstat_cache()
  lstat_cache(): small cleanup and optimisation
</content>
</entry>
<entry>
<title>Move local variables to narrower scopes</title>
<updated>2009-03-08T04:52:23Z</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2009-03-07T20:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fd13b21f52b499ff6fa951ce27d4b9c9f0653087'/>
<id>urn:sha1:fd13b21f52b499ff6fa951ce27d4b9c9f0653087</id>
<content type='text'>
These weren't used outside and can be safely moved

Signed-off-by: Benjamin Kramer &lt;benny.kra@googlemail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>show_patch_diff(): remove a call to fstat()</title>
<updated>2009-02-10T04:59:26Z</updated>
<author>
<name>Kjetil Barvik</name>
<email>barvik@broadpark.no</email>
</author>
<published>2009-02-09T20:54:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=91fcbcbdcdd845bd43104c5ac0af4c40da15223b'/>
<id>urn:sha1:91fcbcbdcdd845bd43104c5ac0af4c40da15223b</id>
<content type='text'>
Currently inside show_patch_diff() we have an fstat() call after an
ok lstat() call.  Since before the call to fstat() we have already
tested for the link case with S_ISLNK(), the fstat() can be removed.

Signed-off-by: Kjetil Barvik &lt;barvik@broadpark.no&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>combine-diff.c: use strbuf_readlink()</title>
<updated>2008-12-17T21:36:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-12-17T20:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=912342d9d69a30e49491f3fd4d3aa8dc2f6050f3'/>
<id>urn:sha1:912342d9d69a30e49491f3fd4d3aa8dc2f6050f3</id>
<content type='text'>
When showing combined diff using work tree contents, use strbuf_readlink()
to read symbolic links.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Always initialize xpparam_t to 0</title>
<updated>2008-10-25T19:09:31Z</updated>
<author>
<name>Brian Downing</name>
<email>bdowning@lavos.net</email>
</author>
<published>2008-10-25T13:30:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ccd0a88ac3ea13ac2df4630bfd01c02084f965e'/>
<id>urn:sha1:9ccd0a88ac3ea13ac2df4630bfd01c02084f965e</id>
<content type='text'>
We're going to be adding some parameters to this, so we can't have
any uninitialized data in it.

Signed-off-by: Brian Downing &lt;bdowning@lavos.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Replace calls to strbuf_init(&amp;foo, 0) with STRBUF_INIT initializer</title>
<updated>2008-10-12T19:36:19Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-10-09T19:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f285a2d7ed6548666989406de8f0e7233eb84368'/>
<id>urn:sha1:f285a2d7ed6548666989406de8f0e7233eb84368</id>
<content type='text'>
Many call sites use strbuf_init(&amp;foo, 0) to initialize local
strbuf variable "foo" which has not been accessed since its
declaration. These can be replaced with a static initialization
using the STRBUF_INIT macro which is just as readable, saves a
function call, and takes up fewer lines.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
