Skip to content

Commit acd6d7e

Browse files
snaewegitster
authored andcommitted
Documentation/git-update-index: refer to 'ls-files'
'ls-files' refers to 'update-index' to show how the 'assume unchanged' bit can be seen. This makes the connection 'bi-directional'. Signed-off-by: Stefan Naewe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e923eae commit acd6d7e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Documentation/git-update-index.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ tree files, you have to explicitly tell git about it by dropping
266266
"assume unchanged" bit, either before or after you modify them.
267267

268268
In order to set "assume unchanged" bit, use `--assume-unchanged`
269-
option. To unset, use `--no-assume-unchanged`.
269+
option. To unset, use `--no-assume-unchanged`. To see which files
270+
have the "assume unchanged" bit set, use `git ls-files -v`
271+
(see linkgit:git-ls-files[1]).
270272

271273
The command looks at `core.ignorestat` configuration variable. When
272274
this is true, paths updated with `git update-index paths...` and
@@ -365,7 +367,8 @@ ctime for marking files processed) (see linkgit:git-config[1]).
365367
SEE ALSO
366368
--------
367369
linkgit:git-config[1],
368-
linkgit:git-add[1]
370+
linkgit:git-add[1],
371+
linkgit:git-ls-files[1]
369372

370373

371374
Author

0 commit comments

Comments
 (0)