summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4f5b8c)
raw | patch | inline | side by side (parent: e4f5b8c)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 7 May 2005 08:11:00 +0000 (01:11 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 7 May 2005 08:11:00 +0000 (01:11 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/core-git.txt | patch | blob | history | |
diff-cache.c | patch | blob | history |
index 8bd893197e6e769b6e03ca1206e355214e16d56a..014b97964e32e5cd7561aeed453b59ca78f8349a 100644 (file)
################################################################
git-diff-cache
- git-diff-cache [-p] [-r] [-z] [--cached] <tree-ish>
+ git-diff-cache [-p] [-r] [-z] [-m] [--cached] <tree-ish>
Compares the content and mode of the blobs found via a tree object
with the content of the current cache and, optionally ignoring the
--cached
do not consider the on-disk file at all
+-m
+
+ By default, files recorded in the index but not checked
+ out are reported as deleted. This flag makes
+ git-diff-cache say that all non-checked-out files are up
+ to date.
+
Output format:
See "Output format from git-diff-cache, git-diff-tree and git-diff-files"
diff --git a/diff-cache.c b/diff-cache.c
index 7e87d28f3a358710b9f11a4b76e4235926f438ee..84527190fef259dc8e8865693fe5591be86f79c4 100644 (file)
--- a/diff-cache.c
+++ b/diff-cache.c
}
static char *diff_cache_usage =
-"diff-cache [-r] [-z] [-p] [-i] [--cached] <tree sha1>";
+"git-diff-cache [-p] [-r] [-z] [-m] [--cached] <tree sha1>";
int main(int argc, char **argv)
{