summaryrefslogtreecommitdiffstats
path: root/git-diff.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-02-28 08:13:52 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-02-28 08:13:52 +0000
commitdb911ee731950adff42ed5f6bec37c095e6f16a3 (patch)
tree83cae002c7b96d245b0db65b27cf5b6402b2cc14 /git-diff.txt
parent17dde0e423f4710264b28df4670ce94847970f64 (diff)
downloadgit-htmldocs-db911ee731950adff42ed5f6bec37c095e6f16a3.tar.gz
Autogenerated HTML docs for v1.5.0.2-230-gfbe3d
Diffstat (limited to 'git-diff.txt')
-rw-r--r--git-diff.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-diff.txt b/git-diff.txt
index 6a098df26..12a531d1e 100644
--- a/git-diff.txt
+++ b/git-diff.txt
@@ -23,6 +23,10 @@ tree and the index file, or the index file and the working tree.
further add to the index but you still haven't. You can
stage these changes by using gitlink:git-add[1].
+ If exactly two paths are given, and at least one is untracked,
+ compare the two files / directories. This behavior can be
+ forced by --no-index.
+
'git-diff' [--options] --cached [<commit>] [--] [<path>...]::
This form is to view the changes you staged for the next