From: Junio C Hamano Date: Mon, 21 Sep 2020 22:46:06 GMT Subject: Re: [PATCH] cmake: ignore generated files Message-ID: In-Reply-To: Johannes Schindelin writes: >> What I am hearing here is that people with CMake & VS use "git clean >> -dfx" when they want to go back to the pristine state, unlike those >> who use "make distclean", and there is nothing to adjust for newly >> discovered crufts we are leaving on the filesystem. > > Yes, that is my understanding. I do not know if you have read other messages in the thread, but my current understanding of what we learned in this thread [*1*] is that those who use CMake, especially in a tree like ours that has its own Makefiles, (sh|w)ould create a throw-away directory and run build there, so even "git clean -dxf" is not part of their "clean" procedure. [Footnote] *1* https://lore.kernel.org/git/20200919004030.GB1837@danh.dev/