Re: [PATCH] git-clean: Display more accurate delete messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 10, 2012, 18:03 UTC
- Message-ID
- <7va9tlbx8v.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <5b69a9f1-0860-41da-914c-d55a17e54092@TX2EHSMHS026.ehs.local>
Soren Brinkmann <soren.brinkmann@xilinx.com> writes:
Show 8 quoted lines
>> > Use git clean --force --force to delete all untracked git repositories >> >> But I am not sure if this is ever sane. Especially the one that >> removes an embedded repository is suspicious. "git clean" should >> not ever touch it with or without --superforce or any other command. > As I mentioned in my email where I reported this incorrect git clean output, I > have a use case where I want git clean to remove embedded repositories. > Whether it is a sane one is probably a different discussion.
Why is it a different discussion? If something is not sane, the tool shouldn't encourage users to do such an insane thing.