@matheusbsbs / matheus-bagliano / commits / 4cf3ef9740
Fork 0

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>

Steven Grimm committed Aug 6, 2007 at 22:57 UTC 4cf3ef97406ea10261cf6faa487520861f8b424b
1 file changed +7
Documentation/git-status.txt
+7
@@ -27,6 +27,13 @@ The command takes the same set of options as `git-commit`; it
27 shows what would be committed if the same options are given to
28 `git-commit`.
29
30 +If any paths have been touched in the working tree (that is,
31 +their modification times have changed) but their contents and
32 +permissions are identical to those in the index file, the command
33 +updates the index file. Running `git-status` can thus speed up
34 +subsequent operations such as `git-diff` if the working tree
35 +contains many paths that have been touched but not modified.
36 +
37
38 OUTPUT
39 ------