gitignore.txt: do not suggest assume-unchanged
authorMichael J Gruber <git@drmicha.warpmail.net>
Tue, 9 Dec 2014 11:13:00 +0000 (12:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Dec 2014 22:24:14 +0000 (14:24 -0800)
git-update-index --assume-unchanged was never meant to ignore changes
to tracked files (only to spare some stats). So do not suggest it
as a means to achieve that.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt
index b08d34d84ec92eec6aa54572e3823062424c23bf..04d50606c2eda7ce05c1b8720ebb8a11c0e316bc 100644 (file)
@@ -135,9 +135,6 @@ NOTES
 The purpose of gitignore files is to ensure that certain files
 not tracked by Git remain untracked.
 
 The purpose of gitignore files is to ensure that certain files
 not tracked by Git remain untracked.
 
-To ignore uncommitted changes in a file that is already tracked,
-use 'git update-index {litdd}assume-unchanged'.
-
 To stop tracking a file that is currently tracked, use
 'git rm --cached'.
 
 To stop tracking a file that is currently tracked, use
 'git rm --cached'.
 
@@ -200,7 +197,6 @@ everything within `foo/bar`):
 SEE ALSO
 --------
 linkgit:git-rm[1],
 SEE ALSO
 --------
 linkgit:git-rm[1],
-linkgit:git-update-index[1],
 linkgit:gitrepository-layout[5],
 linkgit:git-check-ignore[1]
 
 linkgit:gitrepository-layout[5],
 linkgit:git-check-ignore[1]