* [PATCH] Documentation/git-update-index: refer to 'ls-files'
@ 2011-09-20 12:23 Stefan Naewe
2011-09-20 19:50 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Naewe @ 2011-09-20 12:23 UTC (permalink / raw)
To: git; +Cc: Stefan Naewe
'ls-files' refers to 'update-index' to show how the 'assume unchanged'
can be seen. This makes the connection 'bi-directional'.
Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
---
Documentation/git-update-index.txt | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index d393129..169941a 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -276,6 +276,8 @@ unchanged". Note that "assume unchanged" bit is *not* set if
the index (use `git update-index --really-refresh` if you want
to mark them as "assume unchanged").
+To see which files have the "assume unchanged" bit set, use
+`git ls-files -v` (see linkgit:git-update-index[1]).
Examples
--------
@@ -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-update-index[1]
GIT
---
--
1.7.7.rc2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/git-update-index: refer to 'ls-files'
2011-09-20 12:23 [PATCH] Documentation/git-update-index: refer to 'ls-files' Stefan Naewe
@ 2011-09-20 19:50 ` Junio C Hamano
2011-09-21 6:21 ` [PATCH v4] " Stefan Naewe
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2011-09-20 19:50 UTC (permalink / raw)
To: Stefan Naewe; +Cc: git
Stefan Naewe <stefan.naewe@gmail.com> writes:
> 'ls-files' refers to 'update-index' to show how the 'assume unchanged'
> can be seen. This makes the connection 'bi-directional'.
Thanks, but for that bi-directional connection, I think the place you
inserted the new text is suboptimal. There is a single paragraph with two
sentences to teach how to set and how to unset. Adding another to teach
how to inspect would flow the resulting logic more naturally.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v4] Documentation/git-update-index: refer to 'ls-files'
2011-09-20 19:50 ` Junio C Hamano
@ 2011-09-21 6:21 ` Stefan Naewe
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Naewe @ 2011-09-21 6:21 UTC (permalink / raw)
To: gitster, git; +Cc: Stefan Naewe
'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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-21 6:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 12:23 [PATCH] Documentation/git-update-index: refer to 'ls-files' Stefan Naewe
2011-09-20 19:50 ` Junio C Hamano
2011-09-21 6:21 ` [PATCH v4] " Stefan Naewe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).