summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 821d56a)
raw | patch | inline | side by side (parent: 821d56a)
author | Stephen Boyd <bebarino@gmail.com> | |
Sun, 22 Mar 2009 04:32:43 +0000 (21:32 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 22 Mar 2009 05:45:28 +0000 (22:45 -0700) |
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>
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 | patch | blob | history | |
builtin-log.c | patch | blob | history |
index 11a7d772618f48b961d41fb5fe1cb269d7ae7cd1..dc40f471694073b8aeb77c1cbe0491d458af3891 100644 (file)
--numbered-files::
Output file names will be a simple number sequence
without the default first line of the commit appended.
- Mutually exclusive with the --stdout option.
-k::
--keep-subject::
diff --git a/builtin-log.c b/builtin-log.c
index 2ae39afccdc1978141fe4cc4453befa632ecaadf..0f0adf2bab69328f5b6320c1baca58ad226570df 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
die ("-n and -k are mutually exclusive.");
if (keep_subject && subject_prefix)
die ("--subject-prefix and -k are mutually exclusive.");
- if (numbered_files && use_stdout)
- die ("--numbered-files and --stdout are mutually exclusive.");
argc = setup_revisions(argc, argv, &rev, "HEAD");
if (argc > 1)