summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-17 21:35:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-18 07:48:20 (GMT)
commit7c496280104e02cb2a02dbbe0caf3510e0e87e42 (patch)
treec933ac8386c39163593f100bc09c00efac550efa /Documentation
parentdf1b059d8dd5c16edaa98d7da842b2a32c01e526 (diff)
downloadgit-7c496280104e02cb2a02dbbe0caf3510e0e87e42.zip
git-7c496280104e02cb2a02dbbe0caf3510e0e87e42.tar.gz
git-7c496280104e02cb2a02dbbe0caf3510e0e87e42.tar.bz2
git-format-patch -3
This teaches "git-format-patch" to honor the --max-count parameter revision traversal machinery takes, so that you can say "git-format-patch -3" to process the three topmost commits from the current HEAD (or "git-format-patch -2 topic" to name a specific branch). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-format-patch.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 574cf76..811c6e2 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -126,6 +126,9 @@ git-format-patch -M -B origin::
understand renaming patches, so use it only when you know
the recipient uses git to apply your patch.
+git-format-patch -3::
+ Extract three topmost commits from the current branch
+ and format them as e-mailable patches.
See Also
--------