Re: [RFC PATCH v2 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-05 Thread SZEDER Gábor
On Thu, Sep 05, 2019 at 08:47:33AM -0700, Elijah Newren wrote: > Users expect files in a nested git repository to be left alone unless > sufficiently forced (with two -f's). Unfortunately, in certain > circumstances, git would delete both tracked (and possibly dirty) files > and untracked files wi

[RFC PATCH v2 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-05 Thread Elijah Newren
Users expect files in a nested git repository to be left alone unless sufficiently forced (with two -f's). Unfortunately, in certain circumstances, git would delete both tracked (and possibly dirty) files and untracked files within a nested repository. To explain how this happens, let's contrast