Re: [PATCH] gitignore.txt: do not suggest assume-unchanged
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 10, 2014, 01:06 UTC
- Message-ID
- <20141210010658.GD16345@google.com>
- In-Reply-To
- <fe381f27dd50afd44d451577e2315ed5580e3034.1418123458.git.git@drmicha.warpmail.net>
Michael J Gruber wrote:
> 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.
[...]
Show 10 quoted lines
> +++ b/Documentation/gitignore.txt
> @@ -138,9 +138,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'.Makes sense.
But we need some advice to replace the paragraph you are deleting. Is the idea something like
Git will not ignore uncommitted changes in a file that is already tracked. If you have time to work on that, please contact git@vger.kernel.org.
(perhaps without that second line)?
Thanks, Jonathan