diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-01-08 14:22:19 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-01-08 14:22:19 -0800 |
| commit | 5a2282de13c4da13f979185e652c8a08e2481fd1 (patch) | |
| tree | 873414f226d848057f9bb64140b629bf5215b9e9 /git-format-patch.sh | |
| parent | Add a test for rebase when a change was picked upstream (diff) | |
| parent | GIT 1.0.8 (diff) | |
| download | git-1.1.0.tar.gz git-1.1.0.zip | |
GIT 1.1.0v1.1.0
Diffstat (limited to 'git-format-patch.sh')
| -rwxr-xr-x | git-format-patch.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh index 818059f242..d3979d7631 100755 --- a/git-format-patch.sh +++ b/git-format-patch.sh @@ -9,8 +9,10 @@ one file per patch, for e-mail submission. Each output file is numbered sequentially from 1, and uses the first line of the commit message (massaged for pathname safety) as the filename. -When -o is specified, output files are created in that directory; otherwise in -the current working directory. +There are three output modes. By default, output files are created in +the current working directory; when -o is specified, they are created +in that directory instead; when --stdout is specified, they are spit +on standard output, and can be piped to git-am. When -n is specified, instead of "[PATCH] Subject", the first line is formatted as "[PATCH N/M] Subject", unless you have only one patch. |
