summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-09-21 00:20:06 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-24 23:50:44 -0700
commit946f5f7c245a0f9398417be5946795cfebfd1c62 (patch)
tree068a7bfdd9e8122578c06650cf35345956d1664b /diff.h
parentDiff: -l<num> to limit rename/copy detection. (diff)
downloadtgif-946f5f7c245a0f9398417be5946795cfebfd1c62.tar.xz
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*);