aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-06 08:46:23 -0700
committerJunio C Hamano <junkio@cox.net>2006-06-06 14:16:43 -0700
commitefd0201684c6e9bf663811dc849590b8fe27b8b2 (patch)
tree300df6e8c90bca1c609dbbdf108f75ff2c108b4e /Documentation
parent16cee38ae2bff93a4e4c512550fb4ccac035a3a1 (diff)
downloadgit-efd0201684c6e9bf663811dc849590b8fe27b8b2.tar.gz
git-efd0201684c6e9bf663811dc849590b8fe27b8b2.tar.xz
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')
-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 493cac22d..4ca0014da 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.