Re: [PATCH] test: bisect-porcelain: fix location of files
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Dec 18, 2020, 15:50 UTC
- Message-ID
- <5fdccfb8179d9_127502208c4@natae.notmuch>
- In-Reply-To
- <CAP8UFD0X5HR67T6msOhJwgAGKQfgW4JxH+pJprseBi9XAZ2rCw@mail.gmail.com>
Christian Couder wrote:
> On Fri, Dec 18, 2020 at 4:14 PM Felipe Contreras > <felipe.contreras@gmail.com> wrote:
> ...if we wanted this kind of bug not to happen again, we could add a > test here, before `git bisect reset`, to check that here one of the > files below actually exists.
Yeah, but that's like testing the test-case.
Unless the .git directory is renamed by default (like s/master/main), there would never be a need to update this in the same way.
Cheers.
-- Felipe Contreras