summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-27 16:31:34 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-27 16:31:34 -0700
commitf7017f1db02bcb4fd08c70ab72335477ff54827f (patch)
treefef710d6050267740b2c739efc387cd7cc8e0d43 /diff-options.txt
parent4a401d5d92702e0028f6a84625d0cac6218502f6 (diff)
downloadgit-htmldocs-f7017f1db02bcb4fd08c70ab72335477ff54827f.tar.gz
Autogenerated HTML docs for v2.10.1-678-geda7e
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/diff-options.txt b/diff-options.txt
index 29630c238..e6215c372 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -572,5 +572,13 @@ endif::git-format-patch[]
--line-prefix=<prefix>::
Prepend an additional prefix to every line of output.
+--ita-invisible-in-index::
+ By default entries added by "git add -N" appear as an existing
+ empty file in "git diff" and a new file in "git diff --cached".
+ This option makes the entry appear as a new file in "git diff"
+ and non-existent in "git diff --cached". This option could be
+ reverted with `--ita-visible-in-index`. Both options are
+ experimental and could be removed in future.
+
For more detailed explanation on these common options, see also
linkgit:gitdiffcore[7].