From 946f5f7c245a0f9398417be5946795cfebfd1c62 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 21 Sep 2005 00:20:06 -0700 Subject: Diff: --name-status output format. The new output format shows only the status letter and paths. Signed-off-by: Junio C Hamano --- diff.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'diff.h') diff --git a/diff.h b/diff.h index 2e32870901..7f4079c871 100644 --- a/diff.h +++ b/diff.h @@ -67,6 +67,7 @@ extern void diffcore_std_no_resolve(struct diff_options *); " -p output patch format.\n" \ " -u synonym for -p.\n" \ " --name-only show only names of changed files.\n" \ +" --name-status show names and status of changed files.\n" \ " -R swap input file pairs.\n" \ " -B detect complete rewrites.\n" \ " -M detect renames.\n" \ @@ -85,6 +86,7 @@ extern int diff_queue_is_empty(void); #define DIFF_FORMAT_PATCH 2 #define DIFF_FORMAT_NO_OUTPUT 3 #define DIFF_FORMAT_NAME 4 +#define DIFF_FORMAT_NAME_STATUS 5 extern void diff_flush(struct diff_options*); -- cgit v1.2.3