You've only got two copies of the git checkout? If I knew of better
ways of keeping works in progress stored in Git other than `git
stash`, I wouldn't have so many local copies myself.

On Thu, Apr 21, 2022 at 10:15 AM Gary Gregory <[email protected]> wrote:
>
> I keep two repositories, one for master, one for release-2.x, because of
> this kind of sillinesss.
>
> Gary
>
> On Thu, Apr 21, 2022, 08:04 Remko Popma <[email protected]> wrote:
>
> > Thank you Piotr!
> >
> > Understood now.
> > Too bad that switching branches from 2.x to master leaves the invalid
> > source code under log4j-api/src/test (and mvn clean also doesn’t remove
> > it).
> > I’ll just have to remember that I guess.
> > :-)
> >
> > Thanks again for the quick reply.
> >
> > > On Apr 21, 2022, at 20:52, Piotr P. Karwasz <[email protected]>
> > wrote:
> > >
> > > Hello Remko,
> > >
> > >> On Thu, 21 Apr 2022 at 13:14, Remko Popma <[email protected]>
> > wrote:
> > >>
> > >> Warnings look like this:
> > >> [WARNING]
> > >>
> > >>
> > C:\Users\remko\IdeaProjects\logging-log4j2\log4j-api\src\test\java\org\apache\logging\log4j\LogManagerTest.java:[52,5]
> > >> [exports] class Test in module  is not exported
> > >>
> > >
> > > In `master` there is a separate `log4j-api-test` project and
> > > `log4j-api/src/test` should be empty. That is why cherry-picking from
> > > `release-2.x` to `master` often gives conflicts on tests.
> > >
> > > Piotr
> >

Reply via email to