Ramkumar Ramachandra <artagnon@xxxxxxxxx> writes: > In the EXAMPLES section, `git-format-patch -3` doesn't work > anymore. Update it to read `git format-patch HEAD~3`. The example was > introduced in 7c49628 and had not been updated since. > > Signed-off-by: Ramkumar Ramachandra <artagnon@xxxxxxxxx> > --- > Documentation/git-format-patch.txt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt > index 4b3f5ba..2a44472 100644 > --- a/Documentation/git-format-patch.txt > +++ b/Documentation/git-format-patch.txt > @@ -271,7 +271,7 @@ use it only when you know the recipient uses git to apply your patch. > as e-mailable patches: > + > ------------ > -$ git format-patch -3 > +$ git format-patch HEAD~3 > ------------ Works for me: 5031:[gitweb/split@git]# git format-patch -3 0001-gitweb-Prepare-for-splitting-gitweb.txt 0002-gitweb-Create-Gitweb-Git-module.txt 5034:[gitweb/split@git]# git version git version 1.7.2.1 The -3 is git-log option: -<n> Limits the number of commits to show. and also git-format-patch option: -<n> Limits the number of patches to prepare. -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html