# format-patch usage

2 messages from 2008-01-14 to 2008-01-14. Participants: William Morgan, Junio C Hamano.
Thread: https://gitlist.dev/t/11612

## William Morgan, 2008-01-14 00:40

Subject: format-patch usage
Message-ID: <1200270370-sup-4560@south>
URL: https://gitlist.dev/e/1200270370-sup-4560%40south

```
Hi all,

Two questions from a git neophyte about using format-patch:

First, what's the point of adding the Signed-off-by footer, if you're
the author of the patch? I can see the utility of the committer adding
this, as a record of who committed it, but if you wrote a patch and are
submitting it to the list, then you've presumably "signed off", haven't
you? Or is there some subtle distinction between exploratory patches and
"real" patches being made?

Second, it seems like commentary about a patch can be placed after the
"---" but before the "diff --git" lines. Is that correct? Is that
accepted practice? It seems a little backwards to have the commit
message first, then the commentary. Am I correct in assuming that
git-apply ignores anything between those two lines, including the diff
stat, and so that's the reason people put it there?

Thanks,

-- 
William <wmorgan-git@masanjin.net>

```

## Junio C Hamano, 2008-01-14 01:02

Subject: Re: format-patch usage
Message-ID: <7vmyr9nrsc.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vmyr9nrsc.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <1200270370-sup-4560@south>

```
William Morgan <wmorgan-git@masanjin.net> writes:

> Two questions from a git neophyte about using format-patch:

Both come from the established kernel Documentation/SubmittingPatches
convention.

```
