Re: [PATCH] cmake: ignore generated files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 21, 2020, 22:46 UTC
- Message-ID
- <xmqqr1qud9zl.fsf@gitster.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.2009201914330.5061@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
>> 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/