From: Matthieu Moy <Matthieu.Moy@imag.fr>
Date: Sun, 6 May 2007 21:11:56 +0000 (+0200)
Subject: Added a reference to git-add in the documentation for git-update-index
X-Git-Tag: v1.5.2-rc3~27
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e701ccc3883959b4ba5fada7a903e8e9eaddcba7;p=git.git

Added a reference to git-add in the documentation for git-update-index

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <junkio@cox.net>
---

diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index cd5e014d4..6cfbd9a84 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -27,6 +27,9 @@ Modifies the index or directory cache. Each file mentioned is updated
 into the index and any 'unmerged' or 'needs updating' state is
 cleared.
 
+See also gitlink:git-add[1] for a more user-friendly way to do some of
+the most common operations on the index.
+
 The way "git-update-index" handles files it is told about can be modified
 using the various options:
 
@@ -306,7 +309,8 @@ The command looks at `core.ignorestat` configuration variable.  See
 
 See Also
 --------
-gitlink:git-config[1]
+gitlink:git-config[1],
+gitlink:git-add[1]
 
 
 Author