From: Steven Grimm Date: Tue, 7 Aug 2007 05:57:47 +0000 (-0700) Subject: Add a note about the index being updated by git-status in some cases X-Git-Tag: v1.5.3-rc5~58 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4cf3ef97406ea10261cf6faa487520861f8b424b;p=git.git Add a note about the index being updated by git-status in some cases Signed-off-by: Steven Grimm Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt index 6f16eb032..8fd0fc623 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 ------