summaryrefslogtreecommitdiffstats
path: root/Documentation/git-format-patch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-06 17:46:23 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-06 23:16:43 +0200
commitefd0201684c6e9bf663811dc849590b8fe27b8b2 (patch)
tree300df6e8c90bca1c609dbbdf108f75ff2c108b4e /Documentation/git-format-patch.txt
parentrev-parse: tighten constness properly. (diff)
downloadgit-efd0201684c6e9bf663811dc849590b8fe27b8b2.tar.xz
git-efd0201684c6e9bf663811dc849590b8fe27b8b2.zip
git-format-patch: add --output-directory long option again
Additionally notices and complains to an -o option without directory or a duplicated -o option, -o and --stdout given together. Also delays the creation of directory until all arguments are parsed, so that the command does not leave an empty directory behind when it exits after seeing an unrelated invalid option. [jc: originally from Dennis Stosberg but with minor fixes, and documentation updates from Dennis.] Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-format-patch.txt')
-rw-r--r--Documentation/git-format-patch.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 493cac22db..4ca0014dac 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -40,8 +40,7 @@ OPTIONS
-------
-o|--output-directory <dir>::
Use <dir> to store the resulting files, instead of the
- current working directory. This option is ignored if
- --stdout is specified.
+ current working directory.
-n|--numbered::
Name output in '[PATCH n/m]' format.