Re: [RFC PATCH] Introduce "precious" file concept
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 12, 2018, 13:02 UTC
- Message-ID
- <xmqqbm6u1maq.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <87in1231o2.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 6 quoted lines
>> Or only selected "*.o" (vendor supplied binary blob) kept tracked >> while everything else is built from the source. >> ... > But it also does get used for "mostly we don't want this file, but > sometimes we do" use-case, so that's something we need to deal with in > practice.
Exactly. "Mostly we don't want *.o as we prefer to build from the source, but we have only object files for some selected ones" is an often cited use case where it is the BCP to have *.o in .gitignore and use "add -f" to add the "selected" ones initially.