summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-21 00:20:06 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-24 23:50:44 -0700
commit946f5f7c245a0f9398417be5946795cfebfd1c62 (patch)
tree068a7bfdd9e8122578c06650cf35345956d1664b /diff.h
parent8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a (diff)
downloadgit-946f5f7c245a0f9398417be5946795cfebfd1c62.tar.gz
Diff: --name-status output format.
The new output format shows only the status letter and paths. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 2 insertions, 0 deletions
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*);