OSDN Git Service

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 b08d34d..04d5060 100644 (file)
@@ -135,9 +135,6 @@ NOTES
 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'.
 
@@ -200,7 +197,6 @@ everything within `foo/bar`):
 SEE ALSO
 --------
 linkgit:git-rm[1],
-linkgit:git-update-index[1],
 linkgit:gitrepository-layout[5],
 linkgit:git-check-ignore[1]