summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Grimm <koreth@midwinter.com>2007-08-07 05:57:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-08-07 06:47:18 (GMT)
commit4cf3ef97406ea10261cf6faa487520861f8b424b (patch)
tree4ce443d24da8c7b99f4835f5bb7edf7f49fa90f2
parentf9935bf9312dd6681e5051fbdce03204b6458c73 (diff)
downloadgit-4cf3ef97406ea10261cf6faa487520861f8b424b.zip
git-4cf3ef97406ea10261cf6faa487520861f8b424b.tar.gz
git-4cf3ef97406ea10261cf6faa487520861f8b424b.tar.bz2
Add a note about the index being updated by git-status in some cases
Signed-off-by: Steven Grimm <koreth@midwinter.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-status.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt
index 6f16eb0..8fd0fc6 100644
--- a/Documentation/git-status.txt
+++ b/Documentation/git-status.txt
@@ -27,6 +27,13 @@ The command takes the same set of options as `git-commit`; it
shows what would be committed if the same options are given to
`git-commit`.
+If any paths have been touched in the working tree (that is,
+their modification times have changed) but their contents and
+permissions are identical to those in the index file, the command
+updates the index file. Running `git-status` can thus speed up
+subsequent operations such as `git-diff` if the working tree
+contains many paths that have been touched but not modified.
+
OUTPUT
------