diff options
author | Lukas_Sandström <lukass@etek.chalmers.se> | 2005-11-11 02:12:27 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-11 15:12:29 -0800 |
commit | 5f3aa197ac03eabbc45046cd3b9dbcfbda0426d9 (patch) | |
tree | 4283a10bb54027c8d53e6807e159c0f2de8d6945 /Documentation/tutorial.txt | |
parent | 3cab3594e9cfd5e98cbcb819b1bed91a7b3a974b (diff) | |
download | git-5f3aa197ac03eabbc45046cd3b9dbcfbda0426d9.tar.gz git-5f3aa197ac03eabbc45046cd3b9dbcfbda0426d9.tar.xz |
Change 'cache' to 'index' in the docs
This patch makes the documentation refer to the index
as index instead of cache, but some references still
remain. (e.g. git-update-index.txt)
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/tutorial.txt')
-rw-r--r-- | Documentation/tutorial.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 95ed852f2..03eb4216f 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -131,7 +131,7 @@ actually check in your hard work, you will have to go through two steps: The first step is trivial: when you want to tell git about any changes to your working tree, you use the `git-update-index` program. That program normally just takes a list of filenames you want to update, but -to avoid trivial mistakes, it refuses to add new entries to the cache +to avoid trivial mistakes, it refuses to add new entries to the index (or remove existing ones) unless you explicitly tell it that you're adding a new entry with the `\--add` flag (or removing an entry with the `\--remove`) flag. @@ -199,7 +199,7 @@ was just to show that `git-update-index` did something magical, and actually saved away the contents of your files into the git object database. -Updating the cache did something else too: it created a `.git/index` +Updating the index did something else too: it created a `.git/index` file. This is the index that describes your current working tree, and something you should be very aware of. Again, you normally never worry about the index file itself, but you should be aware of the fact that @@ -440,7 +440,7 @@ a bit about what you have done. Write whatever message you want, and all the lines that start with '#' will be pruned out, and the rest will be used as the commit message for the change. If you decide you don't want to commit anything after all at -this point (you can continue to edit things and update the cache), you +this point (you can continue to edit things and update the index), you can just leave an empty message. Otherwise `git commit` will commit the change for you. |