[PATCH] Add a note about the index being updated by git-status in some cases

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Grimm
Date: Monday, August 6, 2007 - 10:57 pm

Signed-off-by: Steven Grimm <koreth@midwinter.com>
---
 Documentation/git-status.txt |    7 +++++++
 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
 ------
-- 
1.5.3.rc2.4.g726f9

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-diff on touched files: bug or feature?, Matthieu Moy, (Thu Aug 2, 2:23 am)
Re: git-diff on touched files: bug or feature?, Johannes Schindelin, (Thu Aug 2, 2:51 am)
Re: git-diff on touched files: bug or feature?, Matthieu Moy, (Thu Aug 2, 2:57 am)
Re: git-diff on touched files: bug or feature?, Johannes Schindelin, (Thu Aug 2, 3:48 am)
Re: git-diff on touched files: bug or feature?, jean_francois_veillette, (Thu Aug 2, 7:04 am)
Re: git-diff on touched files: bug or feature?, Johannes Schindelin, (Thu Aug 2, 7:43 am)
Re: git-diff on touched files: bug or feature?, Steven Grimm, (Thu Aug 2, 8:10 am)
Re: git-diff on touched files: bug or feature?, Johannes Schindelin, (Thu Aug 2, 8:23 am)
Re: git-diff on touched files: bug or feature?, Matthieu Moy, (Thu Aug 2, 8:45 am)
Re: git-diff on touched files: bug or feature?, J. Bruce Fields, (Thu Aug 2, 10:58 am)
Re: git-diff on touched files: bug or feature?, Junio C Hamano, (Thu Aug 2, 1:50 pm)
[PATCH] Add a note about the index being updated by git-st ..., Steven Grimm, (Mon Aug 6, 10:57 pm)