git-format-patch: add --output-directory long option again
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 15:46:23 +0000 (08:46 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Jun 2006 21:16:43 +0000 (14:16 -0700)
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>

No differences found