Re: [PATCH 1/7] t7300: skip untracked dirs containing ignored files

2017-05-03 Thread Stefan Beller
On Wed, May 3, 2017 at 11:26 AM, Samuel Lijin wrote: > On Wed, May 3, 2017 at 1:19 PM, Stefan Beller wrote: >> On Tue, May 2, 2017 at 8:29 PM, Samuel Lijin wrote: >>> If git sees a directory which contains only untracked and ignored >>>

Re: [PATCH 1/7] t7300: skip untracked dirs containing ignored files

2017-05-03 Thread Samuel Lijin
On Wed, May 3, 2017 at 1:19 PM, Stefan Beller wrote: > On Tue, May 2, 2017 at 8:29 PM, Samuel Lijin wrote: >> If git sees a directory which contains only untracked and ignored >> files, clean -d should not remove that directory. > > Yes that states a fact;

Re: [PATCH 1/7] t7300: skip untracked dirs containing ignored files

2017-05-03 Thread Stefan Beller
On Tue, May 2, 2017 at 8:29 PM, Samuel Lijin wrote: > If git sees a directory which contains only untracked and ignored > files, clean -d should not remove that directory. Yes that states a fact; it is not clear why we want to have this test here and now. (Is it testing for a

[PATCH 1/7] t7300: skip untracked dirs containing ignored files

2017-05-02 Thread Samuel Lijin
If git sees a directory which contains only untracked and ignored files, clean -d should not remove that directory. --- t/t7300-clean.sh | 10 ++ 1 file changed, 10 insertions(+) diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index b89fd2a6a..948a455e8 100755 --- a/t/t7300-clean.sh +++