<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pub/scm/git/git.git/git-format-patch-script, branch v0.99.6</title>
<subtitle>Git source code mirror</subtitle>
<id>http://kernel.varnish.org/pub/scm/git/git.git/atom/git-format-patch-script?h=v0.99.6</id>
<link rel='self' href='http://kernel.varnish.org/pub/scm/git/git.git/atom/git-format-patch-script?h=v0.99.6'/>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/'/>
<updated>2005-08-19T18:32:54Z</updated>
<entry>
<title>[PATCH] Fix git-format-patch-script to handle empty messages</title>
<updated>2005-08-19T18:32:54Z</updated>
<author>
<name>Marco Costalba</name>
<email>mcostalba@yahoo.it</email>
</author>
<published>2005-08-19T10:35:03Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=cc5625a5e2e10a94560347333c43b7032c2566f3'/>
<id>urn:sha1:cc5625a5e2e10a94560347333c43b7032c2566f3</id>
<content type='text'>
In case of a commit with an empty message there is no
mandatory empty line between headers and body

[jc: This makes --mbox output valid even when the commit message does
not have anything but its first line, which the one I wrote botched.
One side-effect is that it adds an extra blank line at the end even if
it has more than one lines, which will be eaten by the receiving end.
As Marco says, this is a stop-gap measure.  This script needs to be
split into two, one that gets the format specifier and a commit ID to
write to its standard output, and another that drives that one reading
from rev-list.  I'll fix things properly when that happens by
rewriting the former part in Perl or something more reasonable than
the current shell, sed and grep mishmash.]

Signed-off-by: Marco Costalba &lt;mcostalba@yahoo.it&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Let git-format-patch-script write on stdout</title>
<updated>2005-08-17T19:13:12Z</updated>
<author>
<name>Marco Costalba</name>
<email>mcostalba@yahoo.it</email>
</author>
<published>2005-08-17T12:17:27Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=f01c0fceef2b14c04b1e927626473d059aecf453'/>
<id>urn:sha1:f01c0fceef2b14c04b1e927626473d059aecf453</id>
<content type='text'>
Avoid that git-format-patch writes out patch series
information on stderr when there are no errors

Signed-off-by: Marco Costalba &lt;mcostalba@yahoo.it&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-format-patch fixes.</title>
<updated>2005-08-17T05:22:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-16T22:23:50Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=af5260ee785b8418c7319a84b1d1a0d26e770ed0'/>
<id>urn:sha1:af5260ee785b8418c7319a84b1d1a0d26e770ed0</id>
<content type='text'>
Introduces --keep-subjects flag to tell it not to munge the
first line of the commit message.  Running "git applymbox" on
the output from "git format-patch -m -k" would preserve the
original commit information better this way.

At the same time, prefix Subject: on the first line of the
commit, to help people cut&amp;copy.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make git-format-patch's signoff option more consistent</title>
<updated>2005-08-16T00:44:16Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-08-16T00:20:34Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2'/>
<id>urn:sha1:d9ac9df41c8c1c3a2f5b0fb1bcc0546dc1bafba2</id>
<content type='text'>
Since git-commit-script has a "--signoff" option, use that in
git-format-patch-script, too (and since partial option names are
supported,"--sign" is still valid).

Also, if the message already contains the S-O-B line, silently ignore the
"--signoff" request.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add "--sign" option to git-format-patch-script</title>
<updated>2005-08-12T17:38:21Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-08-12T13:32:42Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=b097584b790b3ec214ceed4ecc6eb6a8f4a69a8f'/>
<id>urn:sha1:b097584b790b3ec214ceed4ecc6eb6a8f4a69a8f</id>
<content type='text'>
This adds the option "--sign" to git-format-patch-script which adds
a Signed-off-by: line automatically.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Skip merges in format-patch.</title>
<updated>2005-08-10T07:06:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-10T07:06:16Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=c35a7b8d806317dc1762e36561cbd31c2530dd9c'/>
<id>urn:sha1:c35a7b8d806317dc1762e36561cbd31c2530dd9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Teach format-patch, rebase and cherry a..b format</title>
<updated>2005-08-10T06:38:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-07T22:51:09Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=4282c4fbddfeae3383c6c327e2ca98b25500ea31'/>
<id>urn:sha1:4282c4fbddfeae3383c6c327e2ca98b25500ea31</id>
<content type='text'>
Although these commands take only begin and end, not necessarily
generic SHA1 expressions rev-parse supports, supporting a..b
notation is good for consistency.  This commit adds such without
breaking backward compatibility.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Do not rely on a sane wc</title>
<updated>2005-08-01T20:27:09Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-08-01T14:32:37Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=9b75e9fa7b2c9bae2d386a380e7f80a7b6c4462e'/>
<id>urn:sha1:9b75e9fa7b2c9bae2d386a380e7f80a7b6c4462e</id>
<content type='text'>
Some implementations of wc pad the line number with white space, which
expr does not grok as a number.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] format-patch: --mbox and --check.</title>
<updated>2005-07-22T23:29:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-22T23:04:47Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=5c2c972f474f22894f5cbcc1234b5dc022de5a33'/>
<id>urn:sha1:5c2c972f474f22894f5cbcc1234b5dc022de5a33</id>
<content type='text'>
Add --mbox option to export patches in a format resembling UNIX
mbox, so that later they can be concatenated and fed to
applymbox.

Add --check to look for lines that introduce bogus whitespaces.

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-format-patch-script and mailinfo updates.</title>
<updated>2005-07-22T23:29:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-22T23:04:34Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=44d2eb51b1c360c0337429f9a4a4f95d26d047eb'/>
<id>urn:sha1:44d2eb51b1c360c0337429f9a4a4f95d26d047eb</id>
<content type='text'>
 - avoid duplicating [PATCH] in the commit message body if the
   original commit has it already (happens for commits done from
   mails via applymbox).

 - check if the commit author is different from the one who is
   running the script, and emit an appropriate "From:" and
   "Date: " lines to the output.

 - with '--date', emit "Date: " line to preserve the original
   author date even for the user's own commit.

 - teach mailinfo to grok not just "From: " but "Date: ".

The patch e-mail output by format-patch starts with the first
line from the original commit message, prefixed with [PATCH],
and optionally a From: line if you are reformatting a patch
obtained from somebody else, a Date: line from the original
commit if (1) --date is specified or (2) for somebody else's
patch, and the rest of the commit message body.

Expected use of this is to move the title line from the commit
to Subject: when sending it via an e-mail, and leave the From:
and the Date: lines as the first lines of your message.

The mailinfo command has been changed to read Date: (in addition
to From: it already understands) and do sensible things when
running applymbox.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
