Re: [PATCH v3 01/12] t7300: add testcases showing failure to clean specified pathspecs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 13, 2019, 20:29 UTC
- Message-ID
- <xmqqk1acc54j.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CABPp-BG1Hvr6joYh-qT6B-8iEetGtj2pE5Mo-gVjdDRre=yrag@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 12 quoted lines
>> Also, you talked about tracked paths in the proposed log message; do >> they not participate in reproducing the issue(s)? > > If there is only one directory which has no tracked files, then the > user can clean up the files -- but confusingly, they have to issue the > same git-clean command multiple times. If multiple directories have > no untracked files, git-clean will never clean them out. I probably > didn't do a very good job explaining that although I started with the > case with one tracked, that I view the case without any as the more > general case -- and that solving it solves both problems. I could > probably make that clearer in the commit message. (Or maybe just add > more testcases even if slightly duplicative, I guess.)
My comment/puzzlement indeed was the lack of any tracked file in your tests, even though the log message did talk about one's presence making a difference in the outcome.
Thanks.