Document --patch-with-raw
authorPetr Baudis <pasky@suse.cz>
Tue, 11 Apr 2006 11:22:17 +0000 (13:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 11 Apr 2006 18:16:51 +0000 (11:16 -0700)
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/diff-options.txt
diff.h

index ec6811c..338014c 100644 (file)
@@ -4,6 +4,9 @@
 -u::
        Synonym for "-p".
 
+--patch-with-raw::
+       Generate patch but keep also the default raw diff output.
+
 -z::
        \0 line termination on output
 
diff --git a/diff.h b/diff.h
index 07b153b..c5372b9 100644 (file)
--- a/diff.h
+++ b/diff.h
@@ -113,6 +113,8 @@ extern void diffcore_std_no_resolve(struct diff_options *);
 "  -z            output diff-raw with lines terminated with NUL.\n" \
 "  -p            output patch format.\n" \
 "  -u            synonym for -p.\n" \
+"  --patch-with-raw\n" \
+"                output both a patch and the diff-raw format.\n" \
 "  --name-only   show only names of changed files.\n" \
 "  --name-status show names and status of changed files.\n" \
 "  --full-index  show full object name on index lines.\n" \