Thread (1 message) 1 message, 1 author, 2023-10-11

Re: [RFC] Define "precious" attribute and support it in `git clean`

From: Junio C Hamano <hidden>
Date: 2023-10-11 23:35:54

Richard Kerry [off-list ref] writes:
An option might be to state, in config, whether a project, or
everything, should be managed on the basis of "all untracked files
are precious" or "files may be explicitly marked precious", or, as
now, "nothing is precious".
I do not think there is any need to have a separate "all or none"
option.  We do not have to make things more complicated than
necessary.

If all untracked files are precious, a user should be able to say so
with an entry that matches all paths "*" to mark them precious, and
nothing more needs to be done.  By default nothing is ignored and
nothing is precious, until you start marking paths with .gitignore
entries.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help