Re: wrong handling of text git attribute leading to files incorrectly reported as modified
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 15, 2014, 21:23 UTC
- Message-ID
- <xmqqob02jnhk.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CANUGeEYoS+t57jfpEoZE-2u_cD1uOD5pdp=yF--Rhpb9z91qxQ@mail.gmail.com>
Brandon McCaig <bamccaig@gmail.com> writes:
> That is for your benefit, and for easily sharing that configuration > with collaborators. Git only cares that the file exists in your > working tree at run-time.
It is a lot more than "for sharing". If you made .gitignore only effective after it gets committed, you cannot test your updated version of .gitignore is correct before committing the change.