Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] git-format-patch(1)- add note about creating patch for single commit

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:30

"Dan McGee" [off-list ref] writes:
On Sun, Oct 19, 2008 at 12:21 AM, Junio C Hamano [off-list ref] wrote:
quoted
Heh, a more natural way to say that is:

       git format-patch -1 $that_one

That uses the first option described in the documentation:

       -<n>::
               Limits the number of patches to prepare.
Wow, had no idea about that option. :)

Given that I didn't even notice this option when I did go to the
manpage, what if my above change was instead reworked a bit:
quoted
quoted
+latter case.  If you want to format only a single commit, say "git
+format-patch -1 <commit>" .
I thought about it, but saw "formatting three commits" example in the
manpage, and stopped there ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help