]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-diff.txt
Documentation: update implicit "--no-index" behavior in "git diff"
[thirdparty/git.git] / Documentation / git-diff.txt
index fe34d4edb487c0b68b36c1b1948074e693872039..dd1fb32786f6f467a1c46f2643fbc54d0390f2ec 100644 (file)
@@ -23,9 +23,9 @@ 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 linkgit: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.
+If exactly two paths are given and at least one points outside
+the current repository, 'git diff' will compare the two files /
+directories. This behavior can be forced by --no-index.
 
 'git diff' [--options] --cached [<commit>] [--] [<path>...]::