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

[PATCH 2/3] Add -a and --text to common diff options help

From
SFStephan Feder <sf@b-i-t.de>
Date
Jul 7, 2006, 13:57 UTC
Message-ID
<11522806292871-git-send-email-sf@b-i-t.de>
In-Reply-To
<44AE4B35.6060607@b-i-t.de>
Signed-off-by: Stephan Feder <sf@b-i-t.de>
---
 diff.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/diff.h b/diff.h
index f80f646..8ab0448 100644
--- a/diff.h
+++ b/diff.h
@@ -162,7 +162,8 @@ #define COMMON_DIFF_OPTIONS_HELP \
 "  -O<file>      reorder diffs according to the <file>.\n" \
 "  -S<string>    find filepair whose only one side contains the string.\n" \
 "  --pickaxe-all\n" \
-"                show all files diff when -S is used and hit is found.\n"
+"                show all files diff when -S is used and hit is found.\n" \
+"  -a  --text    treat all files as text.\n"
 
 extern int diff_queue_is_empty(void);
 extern void diff_flush(struct diff_options*);
-- 
1.4.1.gbc483
Previous: Stephan FederNext: Stephan Feder
Message 5 of 6 in “Teach --text option to diff”
  1. Teach --text option to diffStephan Feder, Jul 7, 2006
  2. Junio C HamanoJul 7, 2006
  3. sfJul 7, 2006
  4. 1/3 Teach diff -a as shorthand for --textStephan Feder, Jul 7, 2006
  5. 2/3 Add -a and --text to common diff options helpStephan Feder, Jul 7, 2006
  6. 3/3 diff-options: Explain --text and -aStephan Feder, Jul 7, 2006

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.