format-patch: --numbered-files and --stdout aren't mutually exclusive
commitb60df87a6b39b3e9fc2fe81585a8bc55a502dcd3
authorStephen Boyd <bebarino@gmail.com>
Sun, 22 Mar 2009 04:32:43 +0000 (21 21:32 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Mar 2009 05:45:28 +0000 (21 22:45 -0700)
tree27365151b9bd842b851524f7d3f7698a74c89f26
parent821d56aa68c38f7390b3171092f7b8b814357194
format-patch: --numbered-files and --stdout aren't mutually exclusive

For example:

    git format-patch --numbered-files --stdout --attach HEAD~~

will create two messages with files 1 and 2 attached respectively.
Without --attach/--inline but with --stdout, --numbered-files option
can be simply ignored, because we are not creating any file ourselves.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt
builtin-log.c