Thread (1 message) 1 message, 1 author, 2020-09-24

Re: [PATCH] cmake: ignore generated files

From: Junio C Hamano <hidden>
Date: 2020-09-24 17:11:15

SZEDER Gábor [off-list ref] writes:
On Wed, Sep 23, 2020 at 03:08:26PM +0200, Johannes Schindelin wrote:
quoted
In any case, `git clean -dfx` strikes me as a perfectly acceptable
equivalent of `make clean` when no `make` is available, as is the case in
Visual Studio's case.
Not at all: 'make (dist)clean' only removes build artifacts and leaves
untracked files intact, while 'git clean -dfx' removes untracked files
as well, so using the latter instead of the former might easily lead to
data loss.
Well, with the patch in question applied, "git clean -f" would be usable
as a poor-man's replacement that removes "ignored and expendable" paths
that match patterns listed in the file, so...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help