Re: [RFC PATCH] Introduce "precious" file concept
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Nov 12, 2018, 16:14 UTC
- Message-ID
- <CACsJy8BDjNW-eGMDiwpm0WKKe69dmQLDf=sO6-bC4zuC+hPURQ@mail.gmail.com>
- In-Reply-To
- <87zhuf3gs0.fsf@evledraar.gmail.com>
On Sun, Nov 11, 2018 at 2:06 PM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 9 quoted lines
> +Trashable files > +~~~~~~~~~~~~~~~ > + > +`trashable` > +^^^^^^^^^^ > + > +Provides an escape hatch for re-enabling a potentially data destroying > +feature which was enabled by default between Git versions 1.5.2 and > +2.20. See the `NOTES` section of linkgit:gitignore[5] for details.
How does this interact with "git clean -x"? Most ignored files will not have trashable attribute, so we don't remove any of them? Making "git clean" completely ignore this attribute is also possible, I guess, if we rename it somehow to avoid confusion.
-- Duy