Re: [PATCH] checkout: add --autostash option for branch switching
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Apr 14, 2026, 20:08 UTC
- Message-ID
- <20260414200827.51072-1-haraldnordgren@gmail.com>
- In-Reply-To
- <d5a47638-545b-44b3-9da5-803c06b3f98a@gmail.com>
Show 8 quoted lines
> > +test_expect_success 'apply with custom conflict labels' ' > > + git init conflict_labels && > > + ( > > I'm still unclear why we're creating a new repository here. Our test > suite is slow enough already without each test spending time creating > its own repository. There doesn't seem to be anything here that requires > isolating the test in this way.
Yes, I want this too, but I had some problems to get it to work. Found a way now I think, but the cleanup is not 100% trivial (this is the only reason to run anything inside a new repo).
Harald