summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2008-11-10 23:54:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-12 04:31:26 (GMT)
commit5df9fcf695a0ba85abfeed68efb3b1c5890068d6 (patch)
tree68523b66d4dc2f2edd36be3db546bfdbc50b6eff /Documentation/git-send-email.txt
parentcaf0c3d692a5a4639e48499711271cb279ecd0dc (diff)
downloadgit-5df9fcf695a0ba85abfeed68efb3b1c5890068d6.zip
git-5df9fcf695a0ba85abfeed68efb3b1c5890068d6.tar.gz
git-5df9fcf695a0ba85abfeed68efb3b1c5890068d6.tar.bz2
git send-email: interpret unknown files as revision lists
Filter out all the arguments git-send-email doesn't like to a git format-patch command, that dumps its content to a safe directory. Barf when a file/revision conflict occurs, allow it to be overriden --[no-]format-patch. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 82f5056..0beaad4 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -8,7 +8,7 @@ git-send-email - Send a collection of patches as emails
SYNOPSIS
--------
-'git send-email' [options] <file|directory> [... file|directory]
+'git send-email' [options] <file|directory|rev-list options>...
DESCRIPTION
@@ -183,6 +183,12 @@ Administering
--[no-]validate::
Perform sanity checks on patches.
Currently, validation means the following:
+
+--[no-]format-patch::
+ When an argument may be understood either as a reference or as a file name,
+ choose to understand it as a format-patch argument ('--format-patch')
+ or as a file name ('--no-format-patch'). By default, when such a conflict
+ occurs, git send-email will fail.
+
--
* Warn of patches that contain lines longer than 998 characters; this