Passport stamps

I posted elsewhere that I met a UK citizen who lived in a German / polish border town - he lives on the polish side of the river and works on the German side.

He sometimes flies into German airports from the UK after visiting and I asked him how it works for him re passport stamping. He said he shows his Polish residence card and they don’t stamp his passport.

ps here’s another previous thread on the subject -