<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/apply.c, branch v0.99</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-07-06T17:39:59Z</updated>
<entry>
<title>[PATCH] Let umask do its work upon filesystem object creation.</title>
<updated>2005-07-06T17:39:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-06T08:21:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f312de018b48853d166040908b0ba2bf666e26c1'/>
<id>urn:sha1:f312de018b48853d166040908b0ba2bf666e26c1</id>
<content type='text'>
IIRC our strategy was to let the users' umask take care of the
final mode bits.  This patch fixes places that deviate from it.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Fix sparse warnings.</title>
<updated>2005-07-03T17:10:45Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-03T17:10:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6da4016aea2dc5bf311fea160bd8ef96ca82b999'/>
<id>urn:sha1:6da4016aea2dc5bf311fea160bd8ef96ca82b999</id>
<content type='text'>
Mainly making a lot of local functions and variables be marked "static",
but there was a "zero as NULL" warning in there too.
</content>
</entry>
<entry>
<title>git-apply: take "--apply" flag to force an apply even if we also ask for a diffstat</title>
<updated>2005-06-23T16:00:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-23T16:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aefa4a5b1cb6cafab14b8179dc803881d1da45bf'/>
<id>urn:sha1:aefa4a5b1cb6cafab14b8179dc803881d1da45bf</id>
<content type='text'>
Also, remove debugging statement about applying a fragment at an offset.
</content>
</entry>
<entry>
<title>[PATCH] git-apply: implement --summary option.</title>
<updated>2005-06-22T17:23:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-22T09:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=96c912a48401fbc8fce94c791f6afc49dcb9f7ac'/>
<id>urn:sha1:96c912a48401fbc8fce94c791f6afc49dcb9f7ac</id>
<content type='text'>
Typical expected usage is "git-apply --stat --summary" to show
diffstat plus dense description of information available in git
extended headers, such as creations, renames, and mode changes.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] git-apply --stat: show new filename for rename/copy patch.</title>
<updated>2005-06-22T17:23:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-22T09:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=03b4538badb405b2f159531ad35873700d073bb8'/>
<id>urn:sha1:03b4538badb405b2f159531ad35873700d073bb8</id>
<content type='text'>
When a patch is a git extended rename/copy patch, "git-apply
--stat" showed the old filename.  Change it to show the new
filename, because most of the time we are interested in looking
at the resulting tree.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>git-apply: create subdirectories leading up to a new file</title>
<updated>2005-06-22T02:10:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-22T02:10:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5c8af185cc547b1babdd6292b1c77bec1941922f'/>
<id>urn:sha1:5c8af185cc547b1babdd6292b1c77bec1941922f</id>
<content type='text'>
Applying Andrew's latest patch-bomb showed us failing miserably if a new
subdirectory needed to be created..  That said, it's uncommon enough
that it's worth optimistically assuming it won't be needed, and then
creating the subdirectories only on failure.
</content>
</entry>
<entry>
<title>[PATCH] git-apply: Don't barf when --stat'ing a diff with no line changes.</title>
<updated>2005-06-21T15:41:56Z</updated>
<author>
<name>Sven Verdoolaege</name>
<email>skimo@liacs.nl</email>
</author>
<published>2005-06-21T15:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=69f956e10484f92f9e0ab191b668c79d697b9f0f'/>
<id>urn:sha1:69f956e10484f92f9e0ab191b668c79d697b9f0f</id>
<content type='text'>
Diffs with only mode changes didn't pass through git-apply --stat.

[ Linus' note: they did for me, on my ppc64, where division by zero just
  silently returns zero.  Duh.  ]

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>git-apply: use default name for mode change patches</title>
<updated>2005-06-17T22:23:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-17T22:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7e8039a6f4a250bc0b9c9ca2d75b60368058413'/>
<id>urn:sha1:b7e8039a6f4a250bc0b9c9ca2d75b60368058413</id>
<content type='text'>
Pure mode changes won't have the file-name in the extended header lines,
so make sure we pick it up from the default name from the "diff --git"
line.
</content>
</entry>
<entry>
<title>git-apply: normalize file mode when comparing with expected value</title>
<updated>2005-06-14T03:41:38Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-14T03:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=de4971b50076b5ef901c2ae0bbee9dd2c14f06ea'/>
<id>urn:sha1:de4971b50076b5ef901c2ae0bbee9dd2c14f06ea</id>
<content type='text'>
Sine git only saves the 'x' bit, we shouldn't compare the stat contents
directly.
</content>
</entry>
<entry>
<title>git-apply: fix error handling for nonexistent files</title>
<updated>2005-06-13T04:04:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-13T04:04:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=84fb9a4dca7efe1427c917e2f46a045e48180826'/>
<id>urn:sha1:84fb9a4dca7efe1427c917e2f46a045e48180826</id>
<content type='text'>
Missing argument for error() function. We should really use the
gcc printf format checking capabilities.
</content>
</entry>
</feed>
