summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e019961)
raw | patch | inline | side by side (parent: e019961)
author | Nicolas Sebrecht <nicolas.s.dev@gmx.fr> | |
Fri, 11 Sep 2009 00:29:58 +0000 (02:29 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 11 Sep 2009 07:23:07 +0000 (00:23 -0700) |
Signed-off-by: Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt | patch | blob | history | |
Documentation/git-mailinfo.txt | patch | blob | history | |
builtin-mailinfo.c | patch | blob | history |
index 87781f4a7789c8cc9be03e77b0cfe37b13c6e9c0..67ad5da9cc0e766882300e90ed114306cb3c9fa7 100644 (file)
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
[--3way] [--interactive] [--committer-date-is-author-date]
[--ignore-date] [--ignore-space-change | --ignore-whitespace]
[--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
- [--reject] [-q | --quiet] [--scissors]
+ [--reject] [-q | --quiet] [--scissors | --no-scissors]
[<mbox> | <Maildir>...]
'git am' (--skip | --resolved | --abort)
Remove everything in body before a scissors line (see
linkgit:git-mailinfo[1]).
+---no-scissors::
+ Ignore scissors lines (see linkgit:git-mailinfo[1]).
+
-q::
--quiet::
Be quiet. Only print error messages.
index 823ab82b5e88c76d359db600b0d0f506758fca0c..996c3fcc6cde0b7ce1acf6bfb3815bac4dd6176c 100644 (file)
with comments and suggestions on the message you are responding to, and to
conclude it with a patch submission, separating the discussion and the
beginning of the proposed commit log message with a scissors line.
++
+This can enabled by default with the configuration option mailinfo.scissors.
+
+--no-scissors::
+ Ignore scissors lines. Useful for overriding mailinfo.scissors settings.
<msg>::
The commit log message extracted from e-mail, usually
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index 7d22fd733ae718d9ff8b984306dd3b9aeaec49af..d498b1cd2d9a2a99bd9564615dfe9bc98ecca47f 100644 (file)
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
@@ -1004,7 +1004,7 @@ static int git_mailinfo_config(const char *var, const char *value, void *unused)
}
static const char mailinfo_usage[] =
- "git mailinfo [-k] [-u | --encoding=<encoding> | -n] [--scissors] msg patch < mail >info";
+ "git mailinfo [-k] [-u | --encoding=<encoding> | -n] [--scissors | --no-scissors] msg patch < mail >info";
int cmd_mailinfo(int argc, const char **argv, const char *prefix)
{