Re: [EXTERNAL] Re: BUG: git clean -d cannot remove files from read-only directories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 20, 2020, 22:26 UTC
- Message-ID
- <xmqqo8ts99pp.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <BL0PR2101MB1089E3CE7738BB70B65C17B680130@BL0PR2101MB1089.namprd21.prod.outlook.com>
Adam Milazzo <Adam.Milazzo@microsoft.com> writes:
Show 6 quoted lines
>> Also, another way to look at this; currently 'git clean -fd' >> behaves the same on untracked directories as 'rm -rf' does and I >> think that's a good model for how to behave. Why should they be >> different? > > I would ask "why should they be the same?"
Simply because that is how users would expect how the world works (iow, model things after what they are already familiar with).