Skip to content

Commit 5508064

Browse files
committed
Merge branch 'maint'
* maint: format-patch documentation: mention the special case of showing a single commit
2 parents b0a7d11 + 16088d8 commit 5508064

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-format-patch.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ applies to that command line and you do not get "everything
4646
since the beginning of the time". If you want to format
4747
everything since project inception to one commit, say "git
4848
format-patch \--root <commit>" to make it clear that it is the
49-
latter case.
49+
latter case. If you want to format a single commit, you can do
50+
this with "git format-patch -1 <commit>".
5051

5152
By default, each output file is numbered sequentially from 1, and uses the
5253
first line of the commit message (massaged for pathname safety) as

0 commit comments

Comments
 (0)