Skip to content

Commit 670f6a7

Browse files
committed
Merge branch 'po/doc-core-ignorestat'
* po/doc-core-ignorestat: doc: core.ignoreStat update, and clarify the --assume-unchanged effect doc: core.ignoreStat clarify the --assume-unchanged effect
2 parents 401a317 + 92be938 commit 670f6a7

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Documentation/config.txt

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,14 +375,19 @@ This is useful for excluding servers inside a firewall from
375375
proxy use, while defaulting to a common proxy for external domains.
376376

377377
core.ignoreStat::
378-
If true, commands which modify both the working tree and the index
379-
will mark the updated paths with the "assume unchanged" bit in the
380-
index. These marked files are then assumed to stay unchanged in the
381-
working tree, until you mark them otherwise manually - Git will not
382-
detect the file changes by lstat() calls. This is useful on systems
383-
where those are very slow, such as Microsoft Windows.
384-
See linkgit:git-update-index[1].
385-
False by default.
378+
If true, Git will avoid using lstat() calls to detect if files have
379+
changed by setting the "assume-unchanged" bit for those tracked files
380+
which it has updated identically in both the index and working tree.
381+
+
382+
When files are modified outside of Git, the user will need to stage
383+
the modified files explicitly (e.g. see 'Examples' section in
384+
linkgit:git-update-index[1]).
385+
Git will not normally detect changes to those files.
386+
+
387+
This is useful on systems where lstat() calls are very slow, such as
388+
CIFS/Microsoft Windows.
389+
+
390+
False by default.
386391

387392
core.preferSymlinkRefs::
388393
Instead of the default "symref" format for HEAD

0 commit comments

Comments
 (0)