git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 1/2] Documentation/config.txt: document mailinfo.scissor

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Feb 20, 2015, 10:29 UTC
Message-ID
<1424428143-641-1-git-send-email-Matthieu.Moy@imag.fr>
In-Reply-To
<1424426947-26441-1-git-send-email-Matthieu.Moy@imag.fr>

The variable was documented in git-mailinfo.txt, but not in config.txt. The detailed documentation is still the one of --scissors in git-mailinfo.txt, but we give enough information here to let the user understand what it is about, and to make it easy to find it (e.g. searching ">8" and "8<" finds it).

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
Changes since v1 for both patches : typos noted by Peff.
 Documentation/config.txt | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index ae6791d..15f8695 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1740,6 +1740,13 @@ log.mailmap::
 	If true, makes linkgit:git-log[1], linkgit:git-show[1], and
 	linkgit:git-whatchanged[1] assume `--use-mailmap`.
 
+mailinfo.scissors::
+	If true, makes linkgit:git-mailinfo[1] (and therefore
+	linkgit:git-am[1]) act by default as if the --scissors option
+	was provided on the command-line. When active, this features
+	removes everything from the message body before a scissors
+	line (i.e. consisting mainly of ">8", "8<" and "-").
+
 mailmap.file::
 	The location of an augmenting mailmap file. The default
 	mailmap, located in the root of the repository, is loaded
-- 
2.3.0.157.g79e124b
Previous: Jeff KingNext: Matthieu Moy
Message 5 of 9 in “Documentation/config.txt: document mailinfo.scissor”
  1. 1/2 Documentation/config.txt: document mailinfo.scissorMatthieu Moy, Feb 20, 2015
  2. 2/2 Documentation/git-am.txt: mention mailinfo.scissor config variableMatthieu Moy, Feb 20, 2015
  3. Jeff KingFeb 20, 2015
  4. Jeff KingFeb 20, 2015
  5. 1/2 Documentation/config.txt: document mailinfo.scissorMatthieu Moy, Feb 20, 2015
  6. 2/2 Documentation/git-am.txt: mention mailinfo.scissors config variableMatthieu Moy, Feb 20, 2015
  7. Eric SunshineFeb 20, 2015
  8. 1/2 Documentation/config.txt: document mailinfo.scissorsMatthieu Moy, Feb 20, 2015
  9. 2/2 Documentation/git-am.txt: mention mailinfo.scissors config variableMatthieu Moy, Feb 20, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.