Skip to content

Commit cc2d6b8

Browse files
peffgitster
authored andcommitted
don't mention index refreshing side effect in git-status docs
The tip about speeding up subsequent operations is now obsolete; since aecbf91, git-diff now squelches empty diffs and performs an automatic refresh. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent bb4e352 commit cc2d6b8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Documentation/git-status.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ If there is no path that is different between the index file and
2828
the current HEAD commit (i.e., there is nothing to commit by running
2929
`git-commit`), the command exits with non-zero status.
3030

31-
If any paths have been touched in the working tree (that is,
32-
their modification times have changed) but their contents and
33-
permissions are identical to those in the index file, the command
34-
updates the index file. Running `git-status` can thus speed up
35-
subsequent operations such as `git-diff` if the working tree
36-
contains many paths that have been touched but not modified.
37-
3831

3932
OUTPUT
4033
------

0 commit comments

Comments
 (0)