From: Junio C Hamano Date: Tue, 6 Jun 2006 15:46:23 +0000 (-0700) Subject: git-format-patch: add --output-directory long option again X-Git-Tag: v1.4.0-rc2~21 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=efd0201684c6e9bf663811dc849590b8fe27b8b2;hp=efd0201684c6e9bf663811dc849590b8fe27b8b2;p=git.git 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 ---