git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4] Documentation/git-update-index: refer to 'ls-files'

From
Stefan Naewe <stefan.naewe@gmail.com>
Date
Sep 21, 2011, 06:21 UTC
Message-ID
<1316586110-6845-1-git-send-email-stefan.naewe@gmail.com>
In-Reply-To
<7vmxdz56xt.fsf@alter.siamese.dyndns.org>

'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 <stefan.naewe@gmail.com>
---
 As Junio suggested, move the new sentence a little to the place where
 setting and unsetting are explained.
 Documentation/git-update-index.txt |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index d393129..d8af8ae 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -264,7 +264,9 @@ tree files, you have to explicitly tell git about it by dropping
 "assume unchanged" bit, either before or after you modify them.
 
 In order to set "assume unchanged" bit, use `--assume-unchanged`
-option.  To unset, use `--no-assume-unchanged`.
+option.  To unset, use `--no-assume-unchanged`. To see which files
+have the "assume unchanged" bit set, use `git ls-files -v` 
+(see linkgit:git-ls-files[1]).
 
 The command looks at `core.ignorestat` configuration variable.  When
 this is true, paths updated with `git update-index paths...` and
@@ -363,7 +365,8 @@ ctime for marking files processed) (see linkgit:git-config[1]).
 SEE ALSO
 --------
 linkgit:git-config[1],
-linkgit:git-add[1]
+linkgit:git-add[1],
+linkgit:git-ls-files[1]
 
 GIT
 ---
-- 
1.7.7.rc2
Previous: Junio C Hamano
Message 3 of 3 in “Documentation/git-update-index: refer to 'ls-files'”
  1. Documentation/git-update-index: refer to 'ls-files'Stefan Naewe, Sep 20, 2011
  2. Junio C HamanoSep 20, 2011
  3. Documentation/git-update-index: refer to 'ls-files'Stefan Naewe, Sep 21, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.