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

[PATCH] Document --unified/-U option

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Jul 25, 2007, 10:08 UTC
Message-ID
<20070725100817.21185.91337.stgit@lathund.dewire.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 Documentation/diff-options.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 1689c74..050e5fd 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -4,6 +4,13 @@
 -u::
 	Synonym for "-p".
 
+-U<n>::
+	Shorthand for "--unified=<n>".
+
+--unified=<n>::
+	Generate diffs with <n> lines of context instead of
+	the usual three. Implies "-p".
+
 --raw::
 	Generate the raw format.
 
Next: Junio C Hamano
Message 1 of 2 in “Document --unified/-U option”
  1. Document --unified/-U optionRobin Rosenberg, Jul 25, 2007
  2. Junio C HamanoJul 25, 2007

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.